summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2014-05-02samterm: free() after getenv()ftrvxmtrx
2014-05-01pc64: increase sizes of physical memory bank mapscinap_lenrek
number of bank slots in Conf.mem[4] was too small for kenjis machine, set it to maximum 16 (the size of the RAM map in pc64/memory.c). also increasing the UPA memory map to 64. the e820 map on my x200s has 31 entries and many holes. this gets rid of the "mapfree: ... losing" messages on boot.
2014-05-01leak(1): typoftrvxmtrx
2014-04-29kernel: always reset notepending in eqlock, handle forceclosefgrp in eqlockscinap_lenrek
2014-04-29kernel: stop queue bloat before allocating blockscinap_lenrek
2014-04-29aan(8): fix aanuke synopsisftrvxmtrx
2014-04-28devmnt: make abandoning fid on botched clunk handle flushescinap_lenrek
make mntflushfree() return the original rpc and do the botched clunk check on the original instead of the current rpc. so if we get a botched flush of a clunk, we abandon the fid of the channel as well.
2014-04-28devmnt: abandon fid on botched Tclunk or Tremovecinap_lenrek
if theres an error transmitting a Tclunk or Tremove request, we cannot assume the fid to be clunked. in case this was a transient error, reusing the fid on further requests will fail. as a work arround, we zero the channels fid and allocate a new fid before the chan is reused. this is not correct as we essentially leak the fid on the fileserver, but we will still be able to use the mount.
2014-04-28libip: use snprint() in myetheraddr() to prevent accidentscinap_lenrek
2014-04-288c, 6c: fix peephole bug for eleminating CMPL $0,R after shiftcinap_lenrek
the shift instructions does not change the zero flag when the shift count is 0, so we cannot remove the compare instruction in this case. this fixes oggdec under 386.
2014-04-28btc mkfile: mkdir -pftrvxmtrx
2014-04-27iwl: support another (broken) variant of centrino ultimate-n 6300ftrvxmtrx
2014-04-26mergeftrvxmtrx
2014-04-26iwl: add Wifi Link 5150 didftrvxmtrx
2014-04-26pmmc: recognize generic mmc controllers (untested)cinap_lenrek
2014-04-26tlshand: cleanup 36 -> MD5dlen+SHA1dlencinap_lenrek
2014-04-26tlshand: fix memory leaks, fix alloc element size for certs pointer array, ↵cinap_lenrek
error handling
2014-04-26games/geigerstats: fix usage() to exit; games(1): geigerstats argsglenda
2014-04-26tr: fix 4-byte runes fix (thanks rsc)ftrvxmtrx
2014-04-26mergeftrvxmtrx
2014-04-26man pages: fix duplicate wordsftrvxmtrx
2014-04-26draw(2): fix missing arg of bezspline on page 5glenda
2014-04-26man pages: the the wichftrvxmtrx
2014-04-24nusb(4): fix spellingmischief
2014-04-24games/snes: mode 5/6; overscan fixaiju
2014-04-24revert previous change, i was confused.cinap_lenrek
2014-04-24nusb: use ep->addr instead of ep->id in unstall() library functioncinap_lenrek
this is not a bug, but using ep->addr makes the intend more clear.
2014-04-23nusb/rndis: avoid allocation on each transmissionftrvxmtrx
The slack space for outgoing packets set to 44+16 bytes.
2014-04-23nusb: resolve endpoint id conflict with different input and output typescinap_lenrek
ftrvxmtrx repots devices that use the endpoint number for input and output of different types like: nusb/ether: parsedesc endpoint 5[7] 07 05 81 03 08 00 09 # ep1 in intr nusb/ether: parsedesc endpoint 5[7] 07 05 82 02 00 02 00 nusb/ether: parsedesc endpoint 5[7] 07 05 01 02 00 02 00 # ep1 out bulk the previous change tried to work arround this but had the concequence that only the lastly defined endpoint was usable. this change addresses the issue by allowing up to 32 endpoints per device (16 output + 16 input endpoints) in devusb. the hci driver will ignore the 4th bit and will only use the lower 4 bits as endpoint address when talking to the usb device. when we encounter a conflict, we map the input endpoint to the upper id range 16..31 and the output endpoint to id 0..15 so two distinct endpoints are created.
2014-04-23mergeftrvxmtrx
2014-04-23boot/nusbrc: add another rndis deviceftrvxmtrx
2014-04-23nusb: workaround for endpoints with same index but different typesftrvxmtrx
nusb code assumes endpoint numbers are unique. It's true in general case, but it becomes false once the direction bit is ignored. The commit adds a check so that two endpoints of different types are not merged into one with Eboth direction. It does overwrite endpoint though, so it shouldn't be considered as a full fix.
2014-04-22nusb/ether: add RNDIS support (tested on Nexus 5)ftrvxmtrx
2014-04-22fortunes: i was up at 9am, climbed a mountain, hiked 6 km through 4ft deep ↵stanley lieber
slush (the image you are supposed to get is of 12 million overturned slurpee cups, and of geting your groin wet in slurpee), nearly died eating beef vindaloo, wrote some code, talked on the phone, wrote mail, and now it's almost 4am and this is absolutely beyond ridiculous.
2014-04-21wifi: set ether->mbps to highest supported rate of the associated apcinap_lenrek
2014-04-21etheriwl: set msb for all ratescinap_lenrek
the 802.11 spec only specifies the msb of the rate for Beacon, Probe Response, Association Response, Reassociation Response, Mesh Peering Open, and Mesh Peering Confirm management frames ... The MSB of each Supported Rate octet in other management frame types is ignored by receiving STAs. this should make no difference but on some netgear ap's not setting this bit seems to ignore these data rates.
2014-04-21wifi: first attempt on negotiating data ratescinap_lenrek
driver sets wifi->rates array to tell wifi layer what rates it supports. when we receive beacon, we determine the minimum and maximum data rates and set wn->minrate and wn->maxrate to point to the entries in wifi->rates. it is the responsibility of the driver to use this information on transmit.
2014-04-19nusb: dont include <bio.h>, we'r not using it (thanks erik)cinap_lenrek
2014-04-18wpa support for tcp boot, remove duplicate secstore code from factotumcinap_lenrek
to run aux/wpa at boot, we need factotum to be running. tho factotum was started only after the network was configured. what we do now is start factotum early, not fetching keys from secstore. once network is available and the auth server is known, we fetch keys from secstore using auth/secstore in bootrc. to pass the authserver for p9 authentication to factotum, we write it in /net/ndb and the special _authdial() in factotum will picks it up. as we are using auth/secstore binary in any case, we remove the duplicated secstore code from factotum and make it just exec auth/secstore to fetch the keys on startup (unless -n or -S is specified).
2014-04-18kernel: add secstore and wpa to bootfscinap_lenrek
2014-04-18secstore: fix wrong "readnvram %r" error statuscinap_lenrek
2014-04-18nusb/kb: fix trackpoint on thinkpad usb keyboardftrvxmtrx
The trackpoint has no subclass, but it's still a pointer device. Also close the device while we are here.
2014-04-17secstore: fix gfile/pfile/rfile array sizescinap_lenrek
need to have one more entry for terminating nil
2014-04-15kernel: fix printing wrong memory sizes in pageinit(), overflowed on amd64 ↵cinap_lenrek
(thanks aram)
2014-04-15vga: add support nVidia 7600GS (and possibly 7950) (from kenji okamoto)cinap_lenrek
2014-04-14aan(8): add HISTORYstanley lieber
2014-04-14add /rc/bin/aanukestanley lieber
2014-04-15libmach: fix printing of amd64 modrm byte register with rex prefixcinap_lenrek
2014-04-14games/snes: faster scalingcinap_lenrek
load x-stretched scanline and use image replication bit to let devdraw do the y-stretching. this reduces slow RGB15 -> display conversions as devdraw caches small numbers of converted source scanlines (one in hour case). setting pixels should also be a bit faster. (only 3 writes instead of 9 for x3 scaling)
2014-04-12libmemdraw: improve readbyte() and writebyte() routinescinap_lenrek
remove unused memsetb() routine. replace foo ? 1 : 0 with foo != 0 avoid double calculation of rgb components in readbyte() handle byte aligned color components in writebyte() which lets us avoid the read-modify-write and the shifting. surprisingly, the branches in the loop are way less important than avoiding the memory access. this change makes ganes/snes playable at -3 scaling.