summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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
2007-03-27only actually change the drive LED state if there was a real state change;Theo de Raadt
tested by robert and myself
2007-03-27Don't pick up IPv6 link local IPs on address deletions.Marco Pfatschbacher
This unbreaks carp reconfiguration. OK henning@, mcbride@
2007-03-27When trap() causes a panic, have stacktrace() use ddb to find the symbolMiod Vallat
names if option DDB, instead of the fn_name() helper which only knows about trap() anyway. While there, do not attempt to print the function arguments after the first frame, since they are known to be clobbered.
2007-03-27Remove an #ifdef LFS chunk from dk_mountroot();Thordur I. Bjornsson
ok pedro@
2007-03-27Clean up some return value handling now that we know that what's returnedArtur Grabowski
is proper errnos. millert@ ok and some help
2007-03-27Try and print symbol-relative addresses for branches, and displayMiod Vallat
delay slots instructions correctly.
2007-03-27this level of serverworks sata does not helpTheo de Raadt
2007-03-27more grammar fixups; from bret lambert and myselfJason McIntyre
2007-03-27grammar from bret lambert, and one more from me;Jason McIntyre
2007-03-27attach ahci based on the pci class and interface fields, not just on aDavid Gwynne
list of pci devices. WARNING: this will cause your disks to change name (wd -> sd) on a supported controller.
2007-03-27grok LSILogic,sas controllers in bootpath; as well, become aware that (atTheo de Raadt
least) "scsi" controllers give a target/port number, not a kernel sd#. So, translate. We might later want to do the same translation for IDE as well, but perhaps not until after people test a bit more; ok dlg
2007-03-27disable serverworks sata until it works (been busted for a year on theTheo de Raadt
G5, might work a lot better soon)
2007-03-27First stab at state transition code for volumes and chunks.Marco Peereboom
Minor cleanup as well. prodded by jordan
2007-03-27regenerateChris Kuethe
ok pvalchev