summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-04-10privledges -> privilegesMiod Vallat
2007-04-10remove process from thread list sooner in exit (notably, before waitingTed Unangst
for the list to become empty)
2007-04-10Do not compile unused dump_tlb() unless option DEBUG.Miod Vallat
2007-04-10slighly -> slightlyMiod Vallat
2007-04-10Name and cast all struct sd_softc *sd the same way. No binary change.Alexander Bluhm
ok krw
2007-04-10When doing a rename and finding out the destination name alreadyPedro Martelletto
exists, keep the containing directory's long name capabilities. From NetBSD via Enache Adrian, okay millert@.
2007-04-10Prevent infinite loop mapping interrupts when "reg" property is missing.Mark Kettenis
ok mbalmer@, dlg@
2007-04-10Fix yet another vnode leak. If relookup() succeeds, we no longer needPedro Martelletto
the compensation acquired before ufs_checkpath(). OK tom@ mickey@ beck@
2007-04-10Always use idiom 'struct cd_softc *cd = (struct cd_softc *)self'. SpottedKenneth R Westerback
by bluhm@ for sd. No change to cd.o.
2007-04-10wrap reading of the error fis up into a func of its own, and useDavid Gwynne
bus_space_read_raw_region_4 to do it. more archs are happy with it.
2007-04-10Sort ATA commands by value.Jonathan Gray
ok dlg@
2007-04-10pascoe@ finished sili(4). enable it so people can try it.David Gwynne
2007-04-10pascoe finished sili(4). let's enable it so people can try it.David Gwynne
2007-04-09Re-enable art(4); mglocker@'s e250 is perfectly happy with larger kernels now.Mark Kettenis
2007-04-09Unbreak the tree.Mark Kettenis
2007-04-09Seperate rtc(4) code out into its own file. Add support for catching theMark Kettenis
power button interrupts on ds1287 models. The hardware will stil power off automatically about 20 seconds after the power button is pressed, but we get a decent chance at doing a clean shutdown before that. "a good start" deraadt@
2007-04-09Remove unused prototype.Mark Kettenis
2007-04-09Fix (unused) extintr_disable_by_num behaviour, and make vmstat -i outputMiod Vallat
provide the correct irq numbers.
2007-04-09Assert my copyright for the AX88178/AX88772 bits over the last few years.Jonathan Gray
2007-04-09Remove any possibility of of an underflow happening whenJonathan Gray
pulling packets out of the usb buffer in rxeof. Potential issue pointed out by Hans Petter Selasky <hselasky@c2i.net>
2007-04-09Add missing letoh16() for eeprom value.Jonathan Gray
Pointed out by Hans Petter Selasky <hselasky@c2i.net>
2007-04-08ansify and deregister, no binary change, okay mickey@ bluhm@Pedro Martelletto
2007-04-08Use CMD_OK instead of 0, no binary change, from mickeyPedro Martelletto
2007-04-08Whitespace/long line fixups. No code change.Christopher Pascoe
2007-04-08Add compile-time support for coalescing command interrupts to reduce theChristopher Pascoe
overall interrupt rate. #define AHCI_COALESCE to enable.
2007-04-08Change the API to sili_port_intr so it can timeout a command and reuse theChristopher Pascoe
existing reset/requeue infrastructure, and implement command timeouts. sili_port_intr now always processes all pending CCBs, so switch to use the auto-clearing interrupt status reads.
2007-04-08ral(4) reported to work on sparc64 by Maxim Belooussov <belooussov@gmail.com>Jonathan Gray
so enable it.
2007-04-08Add support for NCQ error recovery and enable NCQ command submission.Christopher Pascoe
2007-04-08x4100 machines need a hold off in between reads and write to the bmcMarco Peereboom
2007-04-08Track the order that CCBs are submitted in, so that after an error we areChristopher Pascoe
sure to reissue commands in the correct order. Defer completion of commands when we an error has occurred so that new commands don't go active before queeud ones.
2007-04-08sili uses one queue for NCQ and legacy commands. No need for the AHCI-styleChristopher Pascoe
indirection when determining which commands are complete.
2007-04-07ANSI-fy. No functional change.Kenneth R Westerback
From Brad.
2007-04-07Nuke NetBSD defines APRINTF_NORMAL/_ERROR and just use the printf they wereKenneth R Westerback
defined to. No functional change. From Brad.
2007-04-07Remove unused variable.Mark Kettenis
2007-04-07USECPERSEC is no longer used.Mark Kettenis
2007-04-07Always assume write commands had zero residual; the chip only countsChristopher Pascoe
received bytes.
2007-04-07Whitespace cleanup. No code change.Christopher Pascoe
2007-04-07Add transfer failure detection and recovery from non-fatal errors.Christopher Pascoe
2007-04-07Rework command issue/completion flow to be more like AHCI's and switch toChristopher Pascoe
using interrupts to detect command completion. Report on command timeouts (but no recovery yet).
2007-04-07Replace code that tries to find the boot device by pretending to walk theMark Kettenis
device tree and matching locators in the bootpath string components with code that tries to match the PROM node of the devices to bootpath components. This way we don't need a list of possible boot devices that needs to be tweaked whenever we try to support new Sun hardware (or when dlg plugs a new fancy storage controller in a sparc64 machine). Tested by many.
2007-04-07Split command completion out into a separate function, working towardsChristopher Pascoe
IRQ based completion.
2007-04-07Replace code that tries to find the boot device by pretending to walk theMark Kettenis
device tree and matching locators in the bootpath string components with code that tries to match the PROM node of the devices to bootpath components. This way we don't need a list of possible boot devices that needs to be tweaked whenever we try to support new Sun hardware (or when dlg plugs a new fancy storage controller in a sparc64 machine). Tested by many.
2007-04-07Use pci_matchbyid() rather than handrolled equivalent. From Brad.Kenneth R Westerback
tested & ok todd@
2007-04-07Permit PACKET command issue.Christopher Pascoe
2007-04-07Fill out control information for ATAPI commands.Christopher Pascoe
2007-04-07Helper macros to provide the port name in debug messages.Christopher Pascoe
2007-04-07Use the rx_count saved in the LRAM command slot entry to determine theChristopher Pascoe
xfer residual.
2007-04-07Add some more device status related register definitions.Christopher Pascoe
2007-04-07Sync the command corresponding to our ccb, not slot 0.Christopher Pascoe