NetBSD/sys/dev/pci
dyoung fa956bd2bd Fix a bug in Cardbus power activation.
Most Cardbus bridges supported by pccbb(4) fire a power-cycle
interrupt when the power state of a cardslot changes from 'off' to
'on'.  TI bridges fire a power-cycle interrupt on both on->off and
off->on changes.

When pccbb_power() powered-down a cardslot, it did not wait around
for the power-cycle interrupt.  When pccbb_power() powered-up a
cardslot, it did wait for the interrupt.  If a pccbb_power(UP)
followed a pccbb_power(DOWN) very closely, pccbb_power() used to
interpret the power-cycle interrupt for the up->down transition as
"power-up complete," read the power-state bit and, finding that
power had NOT been activated, complain, "cbb0:  power on failed?"
Then pccbb_power() exited before power-activation was complete,
falsely indicating that the power-activation *was* complete.  After
that, a driver attach/enable routine would blithely configure a
card that was not fully powered-up.  An operator who ran a command
such as 'ifconfig rtw0 down up' or 'ifconfig ath0 down up' would
read 'cbb0: power on failed?' in the system log, and their NIC
would misbehave.

This excerpt from a comment in the source should suffice to explain
how I fixed the bug,

        /*
         * Wait as long as 200ms for a power-cycle interrupt.  If
         * interrupts are enabled, but the socket has already
         * changed to the desired status, keep waiting for the
         * interrupt.  "Consuming" the interrupt in this way keeps
         * the interrupt from prematurely waking some subsequent
         * pccbb_power call.

And this explains why this patch will work for Ricoh bridges that
do not fire an interrupt on the on->off transition:

         * XXX Not every bridge interrupts on the ->OFF transition.
         * XXX That's ok, we will time-out after 200ms.
         *
         * XXX The power cycle event will never happen when attaching
         * XXX a 16-bit card.  That's ok, we will time-out after
         * XXX 200ms.
         */

M. Warner Losh and Charles M. Hannum provided valuable input on
this patch.
2007-02-04 21:04:37 +00:00
..
bktr s/existance/existence/, from Zafer. 2006-11-24 22:52:16 +00:00
aac_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
acardide.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
aceride.c PR/35136: Gary Duzan: Enable Ultra/133 on newer aceride 2006-11-27 16:56:38 +00:00
adv_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
adw_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
agp_ali.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
agp_amd.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
agp_i810.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
agp_intel.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
agp_sis.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
agp_via.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
agp.c Don't cleanup memory mappings twice. From Blair Sadewitz 2006-12-18 12:01:48 +00:00
agpbusprint.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
agpreg.h
agpvar.h Fix all the -D*DEBUG* code that it was rotting away and did not even compile. 2006-08-17 17:11:27 +00:00
ahc_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ahcisata.c Fix cut'n'paste, don't print version 1.0 when we have a version 1.1 controller. 2007-01-03 18:58:26 +00:00
ahcisatareg.h Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata 2006-11-30 21:01:15 +00:00
ahd_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
amdpm_smbus.c There is absolutely no way that this code could have worked for reading 2007-01-06 02:16:22 +00:00
amdpm_smbusreg.h
amdpm.c Make sure that we don't use the amdpm timecounter on Xbox. 2007-01-06 20:25:01 +00:00
amdpmreg.h Add nVidia nForce support, tested on Xbox. 2007-01-06 00:14:21 +00:00
amdpmvar.h Add nVidia nForce support, tested on Xbox. 2007-01-06 00:14:21 +00:00
amr.c Change kauth(9) KPI for kauth_authorize_device_passthru() to add another 2006-12-02 03:10:42 +00:00
amrio.h Add a /dev/amr* control file for amr(4) devices, which allows sending raw 2006-07-23 12:01:25 +00:00
amrreg.h Add a /dev/amr* control file for amr(4) devices, which allows sending raw 2006-07-23 12:01:25 +00:00
amrvar.h Add a /dev/amr* control file for amr(4) devices, which allows sending raw 2006-07-23 12:01:25 +00:00
artsata.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
atppc_puc.c
auacer.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
auacerreg.h
auich.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
auichreg.h
auixp.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
auixpreg.h
auixpvar.h
autri.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
autrireg.h
autrivar.h
auvia.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
auviavar.h add support for AC'97 S/PDIF 2006-07-27 15:35:01 +00:00
azalia_codec.c * generic_mixer_default() 2007-01-06 18:35:35 +00:00
azalia.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
azalia.h support for EAPD, Balanced I/O, and LR-Swap 2006-07-21 14:40:12 +00:00
bha_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
btvmei.c Make it compile. 2007-01-10 20:36:28 +00:00
btvmeii.c s/independant/independent/, from Zafer. 2006-11-24 22:04:21 +00:00
btvmeireg.h
btvmeivar.h
cac_pci.c Improve error handling. Related to PR/21900. 2006-11-28 20:29:14 +00:00
chipsfb.c get rid of OpenFirmware dependencies, use device properties instead 2007-01-22 00:12:24 +00:00
chipsfbreg.h cleanup, implement putchar() using the blitter 2006-09-27 05:19:23 +00:00
ciss_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
cmdide.c s/independant/independent/, from Zafer. 2006-11-24 22:04:21 +00:00
cmpci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
cmpcireg.h
cmpcivar.h
com_puc.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
cs428x.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
cs428x.h PR/12843: Workaround for CS4280 on IBM ThinkPads. From Stephane Witzmann. 2006-08-06 16:21:11 +00:00
cs428xreg.h
cs4280_image.h
cs4280.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
cs4280reg.h Add support for the Turtle Beach Santa Cruz. Special thanks to Stephane 2006-04-15 21:20:47 +00:00
cs4281.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
cs4281reg.h
cy82c693.c
cy82c693reg.h
cy82c693var.h
cy_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
cyber.c
cyberreg.h
cybervar.h
cypide.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
cz.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
czreg.h
devlist2h.awk
dpt_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
eap.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
eapreg.h Ankh-Morpork, we have a MIDI driver.... 2006-06-30 13:56:25 +00:00
eapvar.h
ehci_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
emuxki.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
emuxkireg.h
emuxkivar.h
esa.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
esadsp.h
esareg.h
esavar.h
esiop_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
esm.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
esmreg.h
esmvar.h
eso.c Replace home-grown list management for DMA buffers with SLISTs, and refactor. 2007-01-11 22:56:49 +00:00
esoreg.h
esovar.h Replace home-grown list management for DMA buffers with SLISTs, and refactor. 2007-01-12 00:47:51 +00:00
files.agp
files.pci add some flags for chipsfb 2007-01-25 00:11:58 +00:00
fms.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
fmsvar.h
fwlynx_pci.c
fwohci_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
geodeide.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
gtp.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
hifn7751.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
hifn7751reg.h
hifn7751var.h
hptide.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
i82365_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
i82365_pcivar.h
iavc_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
icp_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_an_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_ath_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_atw_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_bce.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_bcereg.h
if_bge.c Sync two alternative IDs with pcidevs. 2006-11-26 06:09:09 +00:00
if_bgereg.h Revert a CHIPID entry in the previous: 2006-11-26 05:52:15 +00:00
if_bnx.c Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device. 2006-12-17 23:02:06 +00:00
if_bnxreg.h Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device. 2006-12-17 23:02:06 +00:00
if_de.c add zero initializers to make that compile again 2006-10-24 19:16:50 +00:00
if_devar.h Use C99 initializers where needed. 2006-11-22 01:54:09 +00:00
if_dge.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_dgereg.h
if_en_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_ep_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_epic_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_esh_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_ex_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_fpa.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_fxp_pci.c Match on board ethernet controller on VGN-TX72PZ. 2006-11-26 01:15:39 +00:00
if_gem_pci.c In preparation for gem @ sbus: split the GEM registers into two halfs 2006-11-24 13:01:07 +00:00
if_gsip.c
if_hme_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_ipw.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_ipwreg.h
if_ipwvar.h Remove SIOCKILLFW. 2006-04-17 20:57:24 +00:00
if_iwi.c Pass the right pointer to firmware_free. 2007-01-23 15:02:50 +00:00
if_iwireg.h - Upgrade to the latest firmware and as a result remove the error log dump. 2006-12-20 16:30:20 +00:00
if_iwivar.h - Upgrade to the latest firmware and as a result remove the error log dump. 2006-12-20 16:30:20 +00:00
if_kse.c - trim CRC off rather than setting M_HASFCS 2006-09-29 08:49:30 +00:00
if_le_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_levar.h
if_lmc.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_lmc.h Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 18:44:45 +00:00
if_msk.c Apply OpenBSD's rev. 1.14 via patch: 2007-01-31 09:57:45 +00:00
if_mskvar.h apply some patches from FreeBSD 2007-01-30 11:58:10 +00:00
if_mtd_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_ne_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_nfe.c Enable hardware checksum support by hardware info taken from FreeBSD. 2007-01-09 10:29:27 +00:00
if_nfereg.h Enable hardware checksum support by hardware info taken from FreeBSD. 2007-01-09 10:29:27 +00:00
if_nfevar.h
if_ntwoc_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_ntwoc_pcireg.h
if_pcn.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_pcnreg.h
if_ral_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_re_pci.c Add an 8169SC variant to re_devs. From Darrin B.Jewell. 2007-02-04 04:39:38 +00:00
if_rtk_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_rtw_pci.c Remove the declaration of an unused local variable 'reg'. 2006-09-01 03:24:58 +00:00
if_sf_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_sip.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_sipreg.h
if_sk.c sync with if_skreg.h rev. 1.41 2007-01-30 11:42:06 +00:00
if_skreg.h fix bit definitions for the RX FIFO Flush mode 2007-01-31 09:56:26 +00:00
if_skvar.h Remove unused members of sk_softc. 2006-09-04 00:54:40 +00:00
if_ste.c Make watchdog poll interrupts before re-initializing the chip. 2007-01-07 12:57:20 +00:00
if_stereg.h
if_stge.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_stgereg.h
if_ti.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_tireg.h
if_tl.c Spell "schedule" correctly. From Zafer Aydogan. 2006-12-25 18:36:05 +00:00
if_tlp_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_tlregs.h
if_tlvar.h
if_txp.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_txpreg.h
if_vge.c Free resouces on failure in vge_allocmem(). 2006-12-01 11:30:55 +00:00
if_vgereg.h Make vge(4) look a NetBSD native driver like pcn(4) or epic(4) etc: 2006-10-31 14:13:30 +00:00
if_vr.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_vrreg.h Use uintNN_t. 2006-11-05 13:05:18 +00:00
if_wi_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_wm.c implement ipv6 TSO. 2006-11-23 19:41:58 +00:00
if_wmreg.h wm: add IPv6 rx tcp/udp checksum offloading. 2006-11-16 06:07:54 +00:00
if_wpi.c Fix compilation on platforms where sizeof int/size_t differs. 2007-01-25 21:17:38 +00:00
if_wpireg.h Sync the wpi driver with the openbsd one. Thanks to Jean-Baptiste 2007-01-13 09:39:06 +00:00
if_wpivar.h Sync the wpi driver with the openbsd one. Thanks to Jean-Baptiste 2007-01-13 09:39:06 +00:00
if_xge.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_xgereg.h
ifpci2.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ifpci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
igsfb_pci.c Not all archs have dma tags that can be compared with "==", so use memcmp 2007-01-13 19:03:49 +00:00
igsfb_pcivar.h
iha_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
iop_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
isic_pci_elsa_qs1p.c
isic_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
isic_pci.h
isp_pci.c Make the logic of handling the options right. 2007-01-13 19:01:55 +00:00
iteide.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
iwic_bchan.c
iwic_dchan.c
iwic_fsm.c
iwic_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
iwicreg.h
iwicvar.h
ixpide.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
joy_eap.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
joy_eso.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
joy_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ld_amr.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ld_twa.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ld_twe.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
lpt_puc.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
machfb.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
machfbreg.h
Makefile Add a /dev/amr* control file for amr(4) devices, which allows sending raw 2006-07-23 12:01:25 +00:00
Makefile.pcidevs
mfi_pci.c Add missing $NetBSD: $ 2006-12-20 21:44:06 +00:00
mlx_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
mly_tables.h
mly.c Change kauth(9) KPI for kauth_authorize_device_passthru() to add another 2006-12-02 03:10:42 +00:00
mlyio.h
mlyreg.h
mlyvar.h
mpt_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
mpu_cmpci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
mpu_eso.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
mpu_fms.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
mpu_yds.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
neo-coeff.h
neo.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
neoreg.h
njs_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
oboe.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
oboereg.h
ohci_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
opl_cmpci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
opl_eso.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
opl_fms.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
opl_sv.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
opl_yds.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
optiide.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
pccbb.c Fix a bug in Cardbus power activation. 2007-02-04 21:04:37 +00:00
pccbbreg.h For Ricoh 5c47x class controllers, restore the "misc control" PCI config 2006-06-17 17:06:51 +00:00
pccbbvar.h sc_pwrcycle is shared between the interrupt handler and Cardbus 2007-02-04 20:52:13 +00:00
pci_map.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
pci_quirks.c Sync with Xbox Host-PCI bridge name change. 2007-01-06 00:08:20 +00:00
pci_subr.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
pci_usrreq.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
pcibusprint.c
pciconf.c
pciconf.h
pcidevs add some msk devices 2007-01-30 11:31:40 +00:00
pcidevs_data.h regen 2007-01-30 11:32:08 +00:00
pcidevs.h regen 2007-01-30 11:32:08 +00:00
pciide_acard_reg.h
pciide_acer_reg.h
pciide_apollo_reg.h
pciide_cmd_reg.h
pciide_common.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
pciide_cy693_reg.h
pciide_geode_reg.h
pciide_hpt_reg.h HPT368 support. Patch from Jonathan A. Kollasch via PR kern/34097. 2006-08-05 22:31:13 +00:00
pciide_i31244_reg.h
pciide_ite_reg.h
pciide_ixp_reg.h
pciide_opti_reg.h
pciide_pdc202xx_reg.h
pciide_piix_reg.h * Add support for ICH8 and ICH8M SATA/RAID controllers. 2006-09-03 18:30:35 +00:00
pciide_sii3112_reg.h
pciide_sis_reg.h
pciide_sl82c105_reg.h
pciide_svwsata_reg.h
pciide.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
pciidereg.h s/independant/independent/, from Zafer. 2006-11-24 22:04:21 +00:00
pciidevar.h Make pciide(4)-only configurations (without other DMA-capable driver) compile. 2006-10-17 13:45:05 +00:00
pciio.h
pcireg.h #Define PCI_PMCSR_PME_EN. 2007-01-26 02:04:09 +00:00
pcivar.h Create a PCI bus powerhook to handle setting PCI D# power state transitions 2006-09-25 23:09:42 +00:00
pcscp.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
pcscpreg.h
pdcide.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
pdcsata.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
piixide.c Now that we have a AHCI driver (thanks a bunch, Manuel!), we can remove the 2006-12-01 10:31:30 +00:00
piixpm.c Print pci device info instead of "Power Management Controller". 2006-12-10 00:34:52 +00:00
piixpmreg.h oops, need to commit the register definition for PM mapping too 2006-06-26 17:33:40 +00:00
plx9060reg.h
plx9060var.h
ppb.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ppbreg.h
puc.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
puccn.c Work around false-positives for gcc's detection of use of uninitialised 2007-01-13 18:59:31 +00:00
puccn.h
pucdata.c add some SIIG and Moxa cards. 2007-01-28 21:44:29 +00:00
pucvar.h
radeonfb_bios.c Initial import of radeonfb. Works to some degree on at least some hardware. 2006-08-16 22:46:44 +00:00
radeonfb_i2c.c Initial import of radeonfb. Works to some degree on at least some hardware. 2006-08-16 22:46:44 +00:00
radeonfb.c add preliminary support for setting backlight levels via ioctl() 2007-01-03 19:47:17 +00:00
radeonfbreg.h add preliminary support for setting backlight levels via ioctl() 2007-01-03 19:47:17 +00:00
radeonfbvar.h add preliminary support for setting backlight levels via ioctl() 2007-01-03 19:47:17 +00:00
rccide.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
README
satalink.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
siop_pci_common.c
siop_pci_common.h
siop_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
siside.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
slide.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
stpcide.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
sv.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
svreg.h
svvar.h
svwsata.c Enable WDC_CAPABILITY_WIDEREGS. With this change LBA48 operations no 2006-11-30 19:32:37 +00:00
tga_conf.c
tga.c Complete initializers so those files compile. 2007-01-13 18:42:45 +00:00
tgareg.h
tgavar.h
trm.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
trmreg.h
twa.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
twaio.h Tweak the twa(4) driver so that 3ware command line utility works with it. 2006-09-23 22:16:35 +00:00
twareg.h Tweak the twa(4) driver so that 3ware command line utility works with it. 2006-09-23 22:16:35 +00:00
twavar.h Fix all the -D*DEBUG* code that it was rotting away and did not even compile. 2006-08-17 17:11:27 +00:00
twe.c Change kauth(9) KPI for kauth_authorize_device_passthru() to add another 2006-12-02 03:10:42 +00:00
tweio.h
twereg.h Remove packed attributes gcc-4 dislikes. 2006-05-21 23:55:22 +00:00
twevar.h
ubsec.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ubsecreg.h
ubsecvar.h
uhci_pci.c Convert to use aprint_* 2006-12-10 05:14:42 +00:00
unichromeaccel.h Acceleration definitions (missed in previous commit). 2006-08-13 20:26:55 +00:00
unichromeconfig.h Expose RGB palette tables. 2006-08-13 20:25:47 +00:00
unichromefb.c Update to compile properly. 2007-01-12 04:20:33 +00:00
unichromehw.h Add work-in-progress framebuffer console driver for the VIA UniChrome 2006-08-02 01:44:09 +00:00
unichromemode.h Add work-in-progress framebuffer console driver for the VIA UniChrome 2006-08-02 01:44:09 +00:00
unichromereg.h Add work-in-progress framebuffer console driver for the VIA UniChrome 2006-08-02 01:44:09 +00:00
universe_pci_var.h
universe_pci.c
usb_pci.c
usb_pci.h
vga_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
vga_pcivar.h
viaenv.c Updated viaenv(4) driver: 2007-01-20 18:44:26 +00:00
viaide.c Add support for CS5536. 2007-01-21 05:00:34 +00:00
voodoofb.c Unify the declaration of OF_interpret() between sparc{,64} and macppc 2007-01-20 21:42:12 +00:00
voodoofbreg.h
weasel_pci.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
weaselreg.h
yds.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ydsreg.h
ydsvar.h Restore yds(4) state on resume. 2006-06-19 13:55:40 +00:00

$NetBSD: README,v 1.3 1998/08/15 03:02:46 mycroft Exp $

This directory contains files which are used during PCI configuration
and PCI device drivers.  Eventually, most of the device drivers and
some of the configuration support should become machine-independent
and be moved to a more general location.

The configuration support was implemented according to the `PCI Local
Bus Specification, Production Version, Revision 2.0' dated April 30,
1993.  Section numbers referred to in the code may be specific to that
edition of the specification.

Some attempt has been made to insure that the code works on rogue
machines where the BIOS doesn't do its job, but in general I can't
guarantee that.

--
- Charles M. Hannum
  NetBSD group
  August 8, 1994