summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-03-31Map PCIe config space.Mark Kettenis
2007-03-31Print correct function name in diagnostic output.Alexander Bluhm
ok pedro
2007-03-31Fix DEBUG.Mark Kettenis
2007-03-31deregister, no change in object codePedro Martelletto
2007-03-31Add missing bintime2timespec().Mark Kettenis
ok art@
2007-03-31syncReyk Floeter
2007-03-31Move offline state up in priority over degraded.Marco Peereboom
Various cleanups in state functions.
2007-03-31Fix bio disk lookup and make it more paranoia with provided parameters.Marco Peereboom
Clean up a little while there.
2007-03-31Spacing and a stale comment.Marco Peereboom
2007-03-31syncReyk Floeter
2007-03-31add Matrox G200e (ServerEngines) found in HP DL145 G3 serversReyk Floeter
2007-03-31re-blacklist the via vt8251, there's still something fishy..Jasper Lievisse Adriaanse
ok dlg@
2007-03-31Enable interrupts.Marcus Glocker
2007-03-31Make sure we not to match secondary cpu's on non-MP kernel. I accidentallyMark Kettenis
didn't commit this bit, so it is still ok drahn@, gwk@.
2007-03-31Detect secondary cpu's. Get rid of legacy ofroot code.Mark Kettenis
ok drahn@, gwk@
2007-03-31more bits and the %b thing for port set/statusDavid Gwynne
2007-03-31Port Control Set register defsDavid Gwynne
2007-03-31reenable the via 8251 sata chipset. jasper proved it can work if we dontDavid Gwynne
do ncq, so this diff quirks it. tested by jasper@
2007-03-31initial atascsi glue.David Gwynne
2007-03-31the attach glue now specifies how many ports the chip has.David Gwynne
2007-03-30Make volume state transitions workMarco Peereboom
2007-03-30Add commented out entries for pyro(4).Mark Kettenis
2007-03-30First stab at a driver for the Host/PCIe bridge found on the Sun FireMark Kettenis
v215/v245/v445 systems.
2007-03-30Calculate proper offset in partition table.Marco Peereboom
2007-03-30accept interleave of 0; pr 5431, my patch matches the author'sTheo de Raadt
2007-03-30change a misplaced splnet() in kqueue_poll() to splhigh(). fixes aReyk Floeter
random panics with kqueue under high load with many events. tested by me cookies for dlg@ deraadt@ ok dlg@ tedu@ art@
2007-03-30the VT8251 SATA says it is ahci, but we aren't ready for it. we need toDavid Gwynne
quirk a few things before it will work. this blacklists that controller in ahci so pciide will be able to match it instead. found by jasper@
2007-03-30start filling out stuff for managing each port. this allocates it, set aDavid Gwynne
register window up, and provides access to the port registers.
2007-03-30define the size and offsets for each ports set of registersDavid Gwynne
2007-03-30replace lockmgr locks with rwlocks. these are no longer recursive, but theyDavid Gwynne
weren't used recursively anyway. tested by hsoexer@ fkr@ ok pedro@
2007-03-29Add power hook to scoop(4), replacing the Zaurus-specific scoop_* calls inUwe Stuehler
pxa2x0_apm.c. Set a flag to indicate that scoop is currently suspended. Test this flag in scoop_timeout() (and maybe later in other places) to avoid manipulating scoop registers while the driver is suspended. The scoop_checkdisk timeout is intentionally not stopped, as it should be safe to have timeouts running accross suspend/resume. Put splhigh() in scoop_gpio_pin_write() to make changing the pin level an atomic operation. Result of prodding and diffs from Robert and Theo.
2007-03-29ignore various i2c seeproms that sun puts on all their machine parts; ok ↵Theo de Raadt
miod kettenis
2007-03-29Enable acx(4) as it is finally working on bigendian boxes. OK deraadt@Claudio Jeker
2007-03-29Comment fixes from Daniel Dickman <didickman AT gmail DOT com>, relevant changesGordon Willem Klok
for amd64 added by myself and while here nuke some whitespace.
2007-03-29Remove FW_TXDESC_GETFIELD_4() it is never used and busted.Claudio Jeker
2007-03-29The message size calculated by BSS_JOIN_PARAM_SIZE() is off by one. TheClaudio Jeker
first byte of the essid is counted double once in the sizeof() and once via essidlen. Luckily the FW command ignored the additional byte. OK mglocker@
2007-03-29Fix yet another endianess bug. bus_space(9) does all the necessary byte orderClaudio Jeker
conversions so there is no need to use htoleXX() before writing the data to the HW dma registers. With this and the previous acx.c commit acx(4) finaly works on big endian machines like macppc. OK mglocker@
2007-03-29Fix a scary bug when setting up the HW dma structure. Use a 2byte bus_spaceClaudio Jeker
access to write the mbuf lenght instead of a 4byte one. On big endian machines the length was written to the wrong field and so no TX transactions were done. OK mglocker@
2007-03-29Avoid leaking a ccb in error paths.Christopher Pascoe
2007-03-29Equiv diff to amd64 as was done on i386, bump VM_PHYSSEG_MAX. Amd64 areTobias Weingartner
PCs too... Tested by dlg@ and brad.
2007-03-29Correct some minor whitespace issues.Christopher Pascoe
2007-03-28regenJonathan Gray
2007-03-28Fix a Marvell Entry, "SATA" -> "88SE6101 IDE"Jonathan Gray
2007-03-28While we are determining which NCQ command failed, we will need to ensureChristopher Pascoe
that we don't accidentally complete any other outstanding commands. This introduces wrappers around get_ccb and put_ccb that can temporarily stash our outstanding command state while we are issuing recovery commands. This is just the first step in NCQ recovery - for now we will reset the port on error which will permit further commands to be issued after a NCQ error. ok dlg@
2007-03-28Due to a logic inversion, we would error out any commands that had completedChristopher Pascoe
successfully and not the ones that had actually failed to complete when unable to recover from an NCQ error. ok dlg@
2007-03-28Improve output of some debugging messages.Christopher Pascoe
2007-03-28Some more safety checks on ccb state.Christopher Pascoe
2007-03-28disk addresses are in hex, not decimal. makes my LSILogic,sas@3/disk@13David Gwynne
correctly match target 19. ok deraadt@
2007-03-28Bump max number of physical segments. Machines in the wildTobias Weingartner
seem to have reached this limit. ok marco@, looks ok ckuethe@
2007-03-27OK, I understand why jsg wanted the disk_unbusy() in wdretry(), and heTheo de Raadt
was right. There is another path that ends up avoiding the disk_unbusy call I inserted.... tested by robert too