summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2006-04-13Coverity ID 2311: in auixp_allocate_dma_chain() free dma variable ifBrad Smith
we are unable to allocate hardware dma descriptors. From NetBSD ok dlg@
2006-04-13free mem if attach fails; netbsd coverity cid 2329Jolan Luff
ok dlg@
2006-04-13various changes to the table-driven code as a result of conversationsTheo de Raadt
with wilfried. unfortunately days have gone by without him (or others) saying that it works fine. in it goes. maybe it will crash for someone?
2006-04-12regenMark Kettenis
2006-04-12Add Atheros AR5424 PCI Express mini WLAN.Mark Kettenis
2006-04-12when the interrupt handler has run out of work to do it shouldnt return 0David Gwynne
from the work loop. instead it should break from it so the spl can be lowered and any work that has been done can be counted. this fixes interrupt counting at least, and possibly issues related to leaving splnet raised.. ok deraadt@
2006-04-11make this use nanotime, not microtime; ok mickey@Damien Miller
2006-04-11KNF.Marco Peereboom
2006-04-11Add acpi_resume(struct acpi_softc *sc), which calls some AML methods,Gordon Willem Klok
detected at attach time, currently unused. ok marco@
2006-04-11Discover some ACPI sleep related methods, and call them at theGordon Willem Klok
appropriate time in acpi_enter_sleep_state(). ok marco@
2006-04-10sch5017 is an adt7460 clone of some type. also, we are seeing someTheo de Raadt
ways to determine the actual voltage multipliers, so move to a table driven model, which we can tweak as we see more varients. checked by kettenis jolan and roman
2006-04-10fix the macro so gem recognizes the Intrepid 2 GMAC.Brad Smith
2006-04-10recognize the Intrepid 2 GMACBrad Smith
2006-04-10regenBrad Smith
2006-04-10add PCI ids for the Apple Intrepid 2 Controller found on the latestBrad Smith
geneartion of G4 PowerBooks.
2006-04-10under some cases some wi(4) cards freak out and then do not recover.Theo de Raadt
make the driver reset in those cases. this needs testing, which is why it is being commited; from kuethe
2006-04-10unify temperature sensor names much moreTheo de Raadt
2006-04-10make this match our code standardsTheo de Raadt
2006-04-10new sch5017 driver by roman.hunt@comcast.netTheo de Raadt
2006-04-10files.i2cTheo de Raadt
2006-04-09slightly nicer sensor namesTheo de Raadt
2006-04-09regenBrad Smith
2006-04-09add another ServerWorks SATA PCI id.Brad Smith
From the Linux svw driver.
2006-04-07Add optional flush method to MIDI hardware interface.Jonathan Gray
Allow umidi(4) to send multiple events in a single USB transfer. This greatly improves the number of interrupts umidi is able to generate. From Alexandre Ratchov.
2006-04-07Replace bus_space functions with generic ones that do barriers.Marco Peereboom
2006-04-07Add memory allocator functions.Marco Peereboom
2006-04-07Print state in debug. Change return vales to 1 instead of ENXIO.Marco Peereboom
2006-04-07Use new shiny debug code.Marco Peereboom
2006-04-07Make a better debug mechanism.Marco Peereboom
2006-04-07Enable mfi_transition_fw() original code from FreeBSD.Marco Peereboom
2006-04-07Add DEVNAME.Marco Peereboom
2006-04-07Add register offsets. Borrowed from FreeBSD.Marco Peereboom
2006-04-07Add work around for mbuf leak in the tx path until weJonathan Gray
can come up with a better guess as to how the hardware works. From Chuck Silvers. ok damien@
2006-04-07Don't check for a BAR address past PCI_MAPREG_END; some devicesBrad Smith
have BARs way out in left field. From NetBSD
2006-04-07implement a check whether a BAR is present at all at a givenBrad Smith
configuration space address, pci_mapreg_probe(). From NetBSD ok dlg@
2006-04-06Add fw transition logic.Marco Peereboom
2006-04-06Add structures and defines.Marco Peereboom
Losely based on FreeBSD and Linux code.
2006-04-06Hook up mfi, remains disabled.Marco Peereboom
2006-04-06Add skeleton driver for MegaRAID SAS.Marco Peereboom
2006-04-06Sync.Marco Peereboom
2006-04-06Add MegaRAID SAS devicesMarco Peereboom
2006-04-06the synchronise cache path is unique in ami in that it uses two megaraidDavid Gwynne
commands to emulated one scsi command. i reuse the ccb and pushed it along the scsi setup path twice. when we do this for asynchronous cache syncs this happens with the timeout: timeout_set, timeout_add, timeout_set, timeout_del. from the looks of the timeout code the repeat of the timeout_set/add part can do really interesting things with the linked list holding all the timeouts. this adds a timeout_del in the middle of the two set/adds so the lists are kept sane.
2006-04-06kudos to djm for finding an embarrassing bug. using the same variableDavid Gwynne
as a counter for both an inner and outer loop is not good(tm). ok marco@
2006-04-05Add support for big endian archs. tested by jaredy@ and ok jsg@Kurt Miller
2006-04-05reintroduce ami_complete, a replacement for ami_poll that is built on topDavid Gwynne
of the async exec and done commands. ami_poll uses a special command id that isnt needed for normal commands. on top of this we should drain the runq before using ami_poll. using ami_complete means that we can poll with commands still on the card.
2006-04-05add a power hook for bge(4).Brad Smith
From Thordur I. Bjornsson <thib at mi dot is>
2006-04-03Move scsi_done back under splbio.Marco Peereboom
ok dlg
2006-04-03Since we have a run-queue now lets check it in the isr and get io ontoMarco Peereboom
the card if there is any still pending. ok dlg
2006-04-03Silly dlg hz/500 isnt a whole lot. Also removed busy-wait inMarco Peereboom
ami_quartz_exec. This fixes interactivity issues that we saw when running iogen. This is possible due to the new run-queue model for io. ok dlg@
2006-04-02- add pccbb_attach_hook in pccbbattach for MD initializations.Brad Smith
- omit arithmetics to bus_space_handle_t. - remove use of IST_LEVEL; not defined on sparc64 and unused. From NetBSD