Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-16 | Fix array access found by parfait and switch to nitems while here. | Jonathan Gray | |
ok deraadt@ | |||
2009-11-15 | athn works on sparc64 | Theo de Raadt | |
2009-11-15 | Move ciss(4) to NO_CCB. Add some extra paranoia by always testing | Kenneth R Westerback | |
the results of attempting to get a ccb. Eliminates manual reservation of ccb's for bioctl and sensors. Tested by johan@ and okan@. Eyes from brad@, dlg@ and marco@. tech@ did its Thomas More thing. | |||
2009-11-15 | AR9287 uses GPIO pin 8 for LED, not 1. | Damien Bergamini | |
Turn link LED on while associated. | |||
2009-11-15 | Fix memory leak in error case. Found by Parfait. | Joel Sing | |
ok marco@ deraadt@ | |||
2009-11-15 | fix athn_stop_tx_dma(). | Damien Bergamini | |
2009-11-15 | athn(4) has a future in here. | Theo de Raadt | |
2009-11-14 | translate a comment from french to english. | Damien Bergamini | |
no binary change. | |||
2009-11-14 | make ramdisks compile | Theo de Raadt | |
2009-11-14 | athn(4), a driver for Atheros 802.11a/g/n devices. | Damien Bergamini | |
written from scratch based on the vendor driver for Linux (ath9k). AR9285 and AR9287 parts are 100% untested. only basic functionnalities are enabled for now. committed over an AR9281. "commit" deraadt | |||
2009-11-13 | Remove an unnecessary assignment. From NetBSD via Brad. | Stuart Henderson | |
2009-11-13 | Added mapping for failure flags for read/write mode (not yet used). | Jordan Hargrave | |
2009-11-13 | >15 year old buffer-read-1-byte-too-far in clrbits() [code I wrote, yeah] | Theo de Raadt | |
with a subtle change to make it more clear (and more cache friendly) netbsd pr 42312, found by tlambert@apple.com ok miod | |||
2009-11-13 | Extend the protosw pr_ctlinput function to include the rdomain. This is | Claudio Jeker | |
needed so that the route and inp lookups done in TCP and UDP know where to look. Additionally in_pcbnotifyall() and tcp_respond() got a rdomain argument as well for similar reasons. With this tcp seems to be now fully rdomain save and no longer leaks single packets into the main domain. Looks good markus@, henning@ | |||
2009-11-13 | do not need to pad up the uhub allocation anymore, from miod | Theo de Raadt | |
2009-11-13 | Use TAILQ_ macros instead of handrolling them self. Tested by myself. | Claudio Jeker | |
2009-11-13 | Packets generated by ip_fragment() need to inherit the rdomain from the | Claudio Jeker | |
original packet or they will trigger the diagnostic check in the interface output routines. OK jsg@ | |||
2009-11-13 | Initialize uninititialized variable. | Jordan Hargrave | |
Not an issue as it does get initialized correctly before use, but reduces warning. | |||
2009-11-13 | sizeof -> nitems, found by parfait; ok dlg | Theo de Raadt | |
2009-11-12 | Avoid using the trick of malloc'ing more than a struct to grow the array | Theo de Raadt | |
of the last element. Bad technique. Use a pointer to the array. The author (or later people) will often not pay attention to the consequences of structure padding & alignment issues when they add new fields to the base structure, and there will be fireworks. tested by jasper, too | |||
2009-11-12 | More unused fields in struct sys_rec. | Miod Vallat | |
2009-11-12 | typo | Miod Vallat | |
2009-11-12 | Oops, I can't even spell `spurious' correctly. | Miod Vallat | |
2009-11-12 | Only read mace interrupt registers once in the interrupt handler; and fix | Miod Vallat | |
the spurious interrupt report logic. | |||
2009-11-12 | Move the interrupt makemasks() code to the interrupt template; no functional | Miod Vallat | |
change. | |||
2009-11-12 | memory leak found by parfait in an ioctl path, ok damien jsg | Theo de Raadt | |
2009-11-12 | Use the number of products in the terminating condition when iterating | Jonathan Gray | |
through the products array not the number of vendors. found by parfait ok deraadt@ miod@ mglocker@ | |||
2009-11-12 | be paranoid in case the action array changes size (again, grr) | Theo de Raadt | |
ok dlg | |||
2009-11-12 | count packets; from claudio | Theo de Raadt | |
2009-11-12 | revert midlayer back to it was before i put my big rewrite in. this is | David Gwynne | |
causing a weird problems on an alpha and also appears responsible for isp(4) weirdness i havent had a chance to examine yet. sigh, this makes me sad. | |||
2009-11-12 | oops my slow editor conspired against me | Theo de Raadt | |
2009-11-12 | if the table got messed up, early loop termination is not gauranteed, and | Theo de Raadt | |
subsequent code will be out of bounds; unlikely situation. found by parfait ok weingart | |||
2009-11-11 | fix memory leak found by parfait | Jacob Meuser | |
2009-11-11 | fixup of locking issues with sdmmc, which were causing | Jasper Lievisse Adriaanse | |
"locking against myself" panics as found the hard way by several. diff by blamert@ with input from oga@, committing bret's behalf. ok todd@ | |||
2009-11-11 | memory leaks found by parfait; ok oga | Theo de Raadt | |
2009-11-11 | add a icache flush which appears to make the machines even more stable | Theo de Raadt | |
(no crashes in nearly forever) ok kettenis | |||
2009-11-11 | Let ioc(4) pass the information whether it is an onboard device or not, to its | Miod Vallat | |
subdevices; use this on iockbc to only perform the fuel workaround on the onboard ioc. | |||
2009-11-11 | Perform a bit more kbc initialization, instead of relying upon the prom to | Miod Vallat | |
do this for us; PS/2 ports on CADduo boards attach keyboard and mouse now. ok jsing@ | |||
2009-11-11 | It turns out PCI IOC3 card which embed both the Ethernet controller and the | Miod Vallat | |
superio chip interrupt on two different pins (yet do not advertize themselves as a multi-function device, of course). So, on one hand, this makes the ioc attachment code simpler, because it simply needs to map interrupt pins A and B, and another hand, this moves all the interrupt knowledge to the PCI bridge driver, since routing of pin B differs whether the device is the onboard IOC3 chip (and able to use any of the 8 bridge interrupt sources...) or on a PCI board (with pin mapping sane, since controlled by the bridge). This makes superio interrupts on CADduo boards work. Tested to cause no regressions on Origin 200, Octane and Fuel. | |||
2009-11-11 | Fix some memory leaks in error cases. | Jonathan Gray | |
Found by parfait. ok henning@ | |||
2009-11-11 | Pass the structure by reference. pointed out and ok by miod@ | Federico G. Schwindt | |
2009-11-10 | Use buffered fwrite(3) to build the udl Huffman table, | Marco Pfatschbacher | |
rather than doing 131074 write(2)s. OK mglocker, deraadt. | |||
2009-11-10 | Handle LOMlite2 in an interrupt-driven way; avoids using delay(9) once the | Mark Kettenis | |
machine is up and running. | |||
2009-11-10 | Add iockbc(4), a driver for the PS/2 keyboard and mouse interface found on | Joel Sing | |
ioc(4) devices. Joint work with miod@. Committed from the glass console on an SGI Fuel. | |||
2009-11-10 | Fix indentation. | Joel Sing | |
2009-11-10 | remove a stale comment from a previous revision of the diff i | David Gwynne | |
committed. i hate comments. i read and change the code and then forget about the comments. pointed out by krw@ | |||
2009-11-10 | dont compare devids when we dont have a devid to compare with. | David Gwynne | |
DEVID_CMP now evaluates to false if the devids are NULL. some stupid devices dont understand luns, so we have code that detects when the device at lun 0 also appears at luns 1, 2, 3, and so on. this check is short circuited if the devices report different devids. no devids isnt the same as different devids though. found by okan@ on ciss (which currently ignores luns). tested by krw@ marco@ johan@ okan@ ok krw@ marco@ | |||
2009-11-10 | fix the NO_CCB handling i broke when working on simplifying the midlayer. | David Gwynne | |
marco@ discovered my rewrite retried commands rejected by an adapter from a timeout, which was trivially starved by normal io going to disks. this diff allows an xs to be marked as XS_NO_CCB, which will cause it to be returned to the device driver to be retried as part of the normal io queue. tested by krw@ marco@ johan@ ok krw@ marco@ | |||
2009-11-10 | backout the backout marco did of my code because of the NO_CCB breakage. | David Gwynne | |
the fix for the NO_CCB breakage will follow shortly. tested by krw@ marco@ johan@ ok krw@ marco@ | |||
2009-11-09 | bump pfsync protocol version | David Gwynne | |
requested by deraadt@ |