NetBSD/sys/dev/pci
msaitoh d1f63c06dc Don't free and reallocate bus_dmamem when it's not required. Currently,
the watchdog timer is completely broken and never fire (it's from FreeBSD
(pre iflib)). If the problem is fixed and watchdog fired, ixgbe_init() always
calls ixgbe_jcl_reinit() and it causes panic. The reason is that
ixgbe_local_timer1(it includes watchdog function) is softint and
xgbe_jcl_reinit() calls bus_dmamem*() functions. bus_dmamem*() can't be called
from interrupt context.

 One of the way to prevent panic is use worqueue for the timer, but it's
not a small change. (I'll do it in future).

 Another way is not reallocate dmamem if it's not required. If both the MTU
(rx_mbuf_sz in reality) and the number of RX descriptors are not changed, it's
not required to call bus_dmamem_{unmap,free}(). Even if we use workque, this
change save time of ixgbe_init().

 I have a code to fix broken watchdog timer but it sometime causes watchdog
timeout, so I don't commit it yet.
2018-04-25 08:46:19 +00:00
..
bktr - Use aprint*() more in xxx_attach(). 2016-07-14 10:19:05 +00:00
cxgb s/static inline/static __inline/g for consistency. 2018-04-19 21:50:06 +00:00
igma one more file needed 2014-01-21 15:03:31 +00:00
ixgbe Don't free and reallocate bus_dmamem when it's not required. Currently, 2018-04-25 08:46:19 +00:00
n8 Typos. 2018-02-08 09:05:16 +00:00
voyager enable font loading 2018-01-19 23:37:36 +00:00
aac_pci.c Modularize the ld driver and all of its attachments. Ensure that all 2016-09-27 03:33:32 +00:00
acardide.c Merge support for SATA NCQ (Native Command Queueing) from jdolecek-ncq branch 2017-10-07 16:05:31 +00:00
aceride.c Apply workaround from FreeBSD to fix read data corruption observed 2017-07-21 21:01:13 +00:00
adv_pci.c src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
adw_pci.c src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
agp_ali.c
agp_amd64.c Fix error branches in agp_amd64.c. 2015-04-04 15:08:40 +00:00
agp_amd.c
agp_apple.c make the apple code compile again. 2014-11-02 00:05:03 +00:00
agp_i810.c kern/50453: Separate Pineview chipset from i915-family chipset support. 2016-05-01 04:22:50 +00:00
agp_i810var.h Pass cache-related flags through to the GTT on pre-SNB devices. 2015-03-06 22:03:06 +00:00
agp_intel.c
agp_sis.c
agp_via.c
agp.c Decode AGP capability. 2017-02-27 14:13:56 +00:00
agpbusprint.c
agpreg.h Decode AGP capability. 2017-02-27 14:13:56 +00:00
agpvar.h make the apple code compile again. 2014-11-02 00:05:03 +00:00
ahc_pci.c - Use aprint*() instead of printf() in xxx_attach(). 2016-07-14 04:00:45 +00:00
ahcisata_pci.c provide intr xname 2016-10-13 17:11:09 +00:00
ahd_pci.c malloc+memset zero to malloc(, |M_ZERO); 2018-01-15 12:43:42 +00:00
alipm.c
amdpm_smbus.c zero the i2c_attach_args structure before filling it in. 2016-02-14 19:54:19 +00:00
amdpm_smbusreg.h
amdpm.c Convert sys/dev to use <sys/rndsource.h>. 2015-04-13 16:33:23 +00:00
amdpmreg.h
amdpmvar.h Convert sys/dev to use <sys/rndsource.h>. 2015-04-13 16:33:23 +00:00
amr.c Modularize the ld driver and all of its attachments. Ensure that all 2016-09-27 03:33:32 +00:00
amrio.h
amrreg.h
amrvar.h From Tom Ivar Helbekkmo: 2015-03-02 15:26:57 +00:00
arcmsr.c tag arcmsr scsipi adapter and pci interrupt as MPSAFE. I/O is now done 2017-08-12 11:03:47 +00:00
arcmsrvar.h Make internal functions static to avoid conflicts with arc_* from zfs. 2016-06-12 02:16:15 +00:00
artsata.c move ata_queue_alloc(1) and ata_queue_free() calls to ata_channel_init() 2017-10-20 07:06:05 +00:00
atppc_puc.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
auacer.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
auacerreg.h Typos. 2018-02-08 09:05:16 +00:00
auich.c use pci_intr_establish_xname() 2018-03-24 18:32:13 +00:00
auichreg.h Typos. 2018-02-08 09:05:16 +00:00
auixp.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
auixpreg.h
auixpvar.h
autri.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
autrireg.h
autrivar.h
auvia.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
auviavar.h
azalia_codec.c Mixer device bounds checking. 2017-07-28 01:36:40 +00:00
azalia.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
azalia.h
bha_pci.c provide intr xname 2016-10-13 17:11:09 +00:00
btvmei.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
btvmeii.c
btvmeireg.h
btvmeivar.h
cac_pci.c Modularize the ld driver and all of its attachments. Ensure that all 2016-09-27 03:33:32 +00:00
chipsfb.c
ciss_pci.c Add a new option CISS_NO_INTERRUPT_HACK for driving ciss(4) by callouts. 2018-02-12 23:11:00 +00:00
cmdide.c do not share queue between the non-indepedant channels; instead make 2017-10-22 13:13:55 +00:00
cmpci.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
cmpcireg.h
cmpcivar.h
com_puc.c Use {isa,pci}_intr_establish"_xname"() for intrctl(8). 2017-04-27 10:01:53 +00:00
coram.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
coramvar.h
cs428x.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
cs428x.h
cs428xreg.h
cs4280_image.h
cs4280.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
cs4280reg.h
cs4281.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
cs4281reg.h
cx23885reg.h
cxdtv_boards.c
cxdtv_boards.h
cxdtv.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
cxdtvreg.h Improve spelling: regsiter -> register 2015-07-11 10:32:45 +00:00
cxdtvvar.h
cy82c693.c Mechanically replace simplelock with kmutex_t. 2014-03-20 06:48:54 +00:00
cy82c693reg.h
cy82c693var.h
cy_pci.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
cyber.c
cyberreg.h
cybervar.h
cypide.c move ata_queue_alloc(1) and ata_queue_free() calls to ata_channel_init() 2017-10-20 07:06:05 +00:00
cz.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
czreg.h Improve spelling: regsiter -> register 2015-07-11 10:32:45 +00:00
dpt_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
eap.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
eapreg.h
eapvar.h
ehci_pci.c Stop potential misuse of vendor names and USB vendor IDs in root hub 2018-04-09 16:21:09 +00:00
emuxki.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
emuxkireg.h
emuxkivar.h
esa.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
esadsp.h - use proper types (uint16_t instead of uint32_t) 2013-10-16 17:39:09 +00:00
esareg.h
esavar.h
esiop_pci.c
esm.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
esmreg.h
esmvar.h
eso.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
esoreg.h
esovar.h
files.agp revert changes, this needed to be done differently. 2014-11-02 02:04:01 +00:00
files.pci Move the imc and imcsmb stuff out of general files.pci and into the 2018-03-01 04:29:37 +00:00
files.virtio Reorg the virtio(4) config(9) code to be explicitly pci specific. 2017-08-02 08:39:14 +00:00
fms.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
fmsvar.h
fwohci_pci.c There was only one G3 PowerBook with Firewire support, the Pismo. Issue is not 2018-03-31 17:54:53 +00:00
gcscaudio.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
gcscaudioreg.h
genfb_pci.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
genfb_pcivar.h
geodeide.c Use the universal pciide_detach() for detach function of all remaining 2013-10-07 19:51:55 +00:00
gffb.c Check pmf_device_register return value. NFC 2017-01-20 12:25:07 +00:00
gffbreg.h fix copyright year 2013-10-23 13:15:47 +00:00
gtp.c KNF. No functional change. 2016-07-11 11:31:49 +00:00
hdaudio_pci.c Move the hdaudio_cd out of the hdaudio_pci module and into the main 2017-06-04 23:34:55 +00:00
hdaudio_pci.h Split hdaudio and PCI attach glue. Even though the driver was written with 2015-03-28 14:09:58 +00:00
hifn7751.c Use-after-free. Found by Brainy. 2015-05-14 07:27:14 +00:00
hifn7751reg.h
hifn7751var.h Include <sys/rndsource.h> where it is actually used. 2015-04-14 20:32:35 +00:00
hptide.c Use the universal pciide_detach() for detach function of all remaining 2013-10-07 19:51:55 +00:00
i82365_pci.c
i82365_pcivar.h
iavc_pci.c KNF. No functional change. 2016-07-11 11:31:49 +00:00
ibmcd.c Check pmf_device_register return value. NFC 2017-01-20 12:25:07 +00:00
ichsmb.c Add 300 series chipset support. 2018-04-09 15:36:00 +00:00
icp_pci.c Modularize the ld driver and all of its attachments. Ensure that all 2016-09-27 03:33:32 +00:00
if_age.c VLAN ID uses pkthdr instead of mtag now. Contributed by s-yamaguchi@IIJ. 2017-09-26 07:42:05 +00:00
if_agereg.h
if_alc.c VLAN ID uses pkthdr instead of mtag now. Contributed by s-yamaguchi@IIJ. 2017-09-26 07:42:05 +00:00
if_alcreg.h Do not access `sc' directly via the CSR_{READ,WRITE}_[124] macros. 2016-12-29 19:22:51 +00:00
if_ale.c VLAN ID uses pkthdr instead of mtag now. Contributed by s-yamaguchi@IIJ. 2017-09-26 07:42:05 +00:00
if_alereg.h
if_an_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
if_ath_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
if_athn_pci.c Revert previous. At least AR9280 and AR9285 apparently do not have 2015-11-24 18:17:37 +00:00
if_atw_pci.c - Use aprint*() instead of printf() in xxx_attach(). 2016-07-14 04:00:45 +00:00
if_bce.c Add another BCM4401 chip support. 2017-04-19 07:35:44 +00:00
if_bcereg.h
if_bge.c Revert part of if_bge.c 1.312. It's not reqired to mask other than VLAN ID 2017-11-22 02:35:54 +00:00
if_bgereg.h - Read chip ID correctly on BCM57782 and BCM57786. 2017-04-13 04:27:46 +00:00
if_bgevar.h Add counters for spurious interrupts. 2017-04-12 05:59:43 +00:00
if_bnx.c Typos. 2018-02-08 09:05:16 +00:00
if_bnxreg.h Print some information (ASIC revision, PCI status, etc). From FreeBSD. 2014-07-01 17:11:35 +00:00
if_bnxvar.h Print some information (ASIC revision, PCI status, etc). From FreeBSD. 2014-07-01 17:11:35 +00:00
if_bwi_pci.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
if_cas.c Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input 2016-12-15 09:28:02 +00:00
if_casreg.h
if_casvar.h Include <sys/rndsource.h> where it is actually used. 2015-04-14 20:32:35 +00:00
if_de.c s/been been/been/ in comment. 2018-03-19 03:12:09 +00:00
if_devar.h More on PR 41200: headers that declare ioctls should include sys/ioccom.h. 2015-09-06 06:00:59 +00:00
if_dge.c Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input 2016-12-15 09:28:02 +00:00
if_dgereg.h
if_en_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
if_ep_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
if_epic_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
if_esh_pci.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
if_et.c update for GCC 6: 2018-02-08 07:53:47 +00:00
if_etreg.h
if_ex_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
if_fpa.c Fix obviously missing "sc->sc_dev = self" initialization. 2015-01-25 07:33:24 +00:00
if_fxp_pci.c Convert sys/dev to use <sys/rndsource.h>. 2015-04-13 16:33:23 +00:00
if_gem_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
if_hme_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
if_ipw.c Fix overflow. 2018-01-16 07:05:24 +00:00
if_ipwreg.h
if_ipwvar.h wlan interfaces make interrupt routine running on softint context. 2017-02-02 10:05:35 +00:00
if_iwi.c Fix overflow. 2018-01-16 07:05:24 +00:00
if_iwireg.h
if_iwivar.h wlan interfaces make interrupt routine running on softint context. 2017-02-02 10:05:35 +00:00
if_iwm.c CID-1427736: Appease coverity using KASSERT 2018-01-21 18:12:37 +00:00
if_iwmreg.h s/static inline/static __inline/g for consistency. 2018-04-19 21:50:06 +00:00
if_iwmvar.h iwm(4): update firmware to maintained core release. 2017-03-14 23:59:24 +00:00
if_iwn.c add an annotation. 2018-01-28 16:12:41 +00:00
if_iwnreg.h Pull in some hardware support from FreeBSD. Also fix 5GHz mode by 2017-07-19 16:55:12 +00:00
if_iwnvar.h Pull in some hardware support from FreeBSD. Also fix 5GHz mode by 2017-07-19 16:55:12 +00:00
if_jme.c VLAN ID uses pkthdr instead of mtag now. Contributed by s-yamaguchi@IIJ. 2017-09-26 07:42:05 +00:00
if_jmereg.h
if_kse.c Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input 2016-12-15 09:28:02 +00:00
if_le_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
if_levar.h
if_lii.c Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input 2016-12-15 09:28:02 +00:00
if_liireg.h
if_lmc.c avoid an indentation issue by adding "if (1)". 2018-02-07 06:18:11 +00:00
if_lmc.h Defer bpf_mtap in Rx interrupt context to softint 2017-01-24 09:05:27 +00:00
if_malo_pci.c wlan interfaces make interrupt routine running on softint context. 2017-02-02 10:05:35 +00:00
if_msk.c update entry for Marvel Yukon 8058, and fix URL for pci ids (Rocky Hotas) 2017-10-20 12:01:43 +00:00
if_mskvar.h Convert sys/dev to use <sys/rndsource.h>. 2015-04-13 16:33:23 +00:00
if_mtd_pci.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
if_ne_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
if_nfe.c VLAN ID uses pkthdr instead of mtag now. Contributed by s-yamaguchi@IIJ. 2017-09-26 07:42:05 +00:00
if_nfereg.h
if_nfevar.h
if_ntwoc_pci.c - Use aprint*() more in xxx_attach(). 2016-07-14 10:19:05 +00:00
if_ntwoc_pcireg.h
if_pcn.c Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input 2016-12-15 09:28:02 +00:00
if_pcnreg.h
if_ral_pci.c enable rt2860 power management code 2017-07-25 23:17:20 +00:00
if_re_pci.c Re-enable RTKQ_IM_HW. Timeout issues appear to be fixed since 2017-05-18 18:33:48 +00:00
if_rtk_pci.c PR/49889: Maxim Tsyplakov: support for D-Link DFE520TX 2015-05-09 21:53:45 +00:00
if_rtw_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
if_rtwn.c in rtwn_attach(): return; before unconditionally running into fail: 2018-04-06 22:11:51 +00:00
if_rtwnreg.h wlan interfaces make interrupt routine running on softint context. 2017-02-02 10:05:35 +00:00
if_sf_pci.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
if_sip.c VLAN ID uses pkthdr instead of mtag now. Contributed by s-yamaguchi@IIJ. 2017-09-26 07:42:05 +00:00
if_sipreg.h Typos. 2018-02-08 09:05:16 +00:00
if_sk.c Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input 2016-12-15 09:28:02 +00:00
if_skreg.h PR/49270: Hauke Fath: Samsung NC10 Marvell Yukon ethernet not supported 2014-10-10 14:23:06 +00:00
if_skvar.h Convert sys/dev to use <sys/rndsource.h>. 2015-04-13 16:33:23 +00:00
if_ste.c Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input 2016-12-15 09:28:02 +00:00
if_stereg.h
if_stge.c only get vtag when we have vtag like the other drivers. 2017-09-28 16:23:57 +00:00
if_stgereg.h
if_ti.c Typos. 2018-02-08 09:05:16 +00:00
if_tireg.h
if_tl.c Apply deferred if_start to more drivers 2017-05-23 02:19:14 +00:00
if_tlp_pci.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
if_tlregs.h src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
if_tlvar.h Convert sys/dev to use <sys/rndsource.h>. 2015-04-13 16:33:23 +00:00
if_txp.c VLAN ID uses pkthdr instead of mtag now. Contributed by s-yamaguchi@IIJ. 2017-09-26 07:42:05 +00:00
if_txpreg.h
if_vge.c Dedup. m_defrag is already a common function, no need to reimplement it 2018-01-14 17:43:55 +00:00
if_vgereg.h
if_vioif.c Typos. 2018-02-08 09:05:16 +00:00
if_vr.c Cosmetic printf/aprint changes. 2018-02-28 18:03:48 +00:00
if_vrreg.h Cosmetic fix for the Physical Address Registers PAR0 to PAR5. 2018-02-28 17:13:44 +00:00
if_vte.c PR/52333: Jia-Ju Bai: explicitly pass BUS_DMA_NOWAIT to bus_dmamap_load_mbuf() 2017-06-26 18:23:49 +00:00
if_vtereg.h
if_vtevar.h Include <sys/rndsource.h> where it is actually used. 2015-04-14 20:32:35 +00:00
if_wi_pci.c - Use aprint*() instead of printf() in xxx_attach(). 2016-07-14 04:00:45 +00:00
if_wm.c - Backout if_wm.c rev.1.574 and print "device timeout (lost interrupt)" 2018-04-23 01:35:25 +00:00
if_wmreg.h No binary change: 2018-04-12 02:15:07 +00:00
if_wmvar.h Add PCH_CNP support (I219 with Intel 300 series chipset). 2018-04-12 03:25:08 +00:00
if_wpi.c If if_initialize() failed in the attach function, free resources and return. 2017-10-23 09:31:17 +00:00
if_wpireg.h fix boot code maximum size. 2014-07-02 00:15:41 +00:00
if_wpivar.h wlan interfaces make interrupt routine running on softint context. 2017-02-02 10:05:35 +00:00
if_xge.c Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input 2016-12-15 09:28:02 +00:00
if_xgereg.h
ifpci2.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
ifpci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
igma.c zero the i2c_attach_args structure before filling it in. 2016-02-14 19:54:19 +00:00
igmareg.h wscons driver for Intel Graphics Media Accelerator. 2014-01-21 14:52:07 +00:00
igmavar.h wscons driver for Intel Graphics Media Accelerator. 2014-01-21 14:52:07 +00:00
igsfb_pci.c - Use aprint*() instead of printf() in xxx_attach(). 2016-07-14 04:00:45 +00:00
igsfb_pcivar.h
iha_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
iop_pci.c Use aprint*() instead of printf() in the attach function. 2016-07-14 04:12:08 +00:00
ips.c port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable 2017-12-03 14:26:38 +00:00
isic_pci_elsa_qs1p.c
isic_pci.c - Use aprint*() more in xxx_attach(). 2016-07-14 10:19:05 +00:00
isic_pci.h
ismt.c Add C3000 devices. 2017-08-17 01:24:09 +00:00
isp_pci.c - Use aprint*() instead of printf() in xxx_attach(). 2016-07-14 04:00:45 +00:00
iteide.c Use the universal pciide_detach() for detach function of all remaining 2013-10-07 19:51:55 +00:00
iwic_bchan.c remove unused 2014-03-23 02:44:19 +00:00
iwic_dchan.c remove unused 2014-03-23 02:54:12 +00:00
iwic_fsm.c
iwic_pci.c - Use aprint*() more in xxx_attach(). 2016-07-14 10:19:05 +00:00
iwicreg.h
iwicvar.h
ixpide.c KNF. No functional change. 2016-07-14 04:19:26 +00:00
jmide_reg.h
jmide.c - Use aprint*() more in xxx_attach(). 2016-07-14 10:19:05 +00:00
joy_eap.c
joy_eso.c
joy_pci.c Fix impossible error condition. 2014-05-07 19:30:09 +00:00
ld_amr.c Modularize the ld driver and all of its attachments. Ensure that all 2016-09-27 03:33:32 +00:00
ld_twa.c refactor the ld(4) DIOCCACHESYNC hook into general ioctl hook, so that attachments 2017-02-27 21:32:33 +00:00
ld_twe.c refactor the ld(4) DIOCCACHESYNC hook into general ioctl hook, so that attachments 2017-02-27 21:32:33 +00:00
ld_virtio.c While ld(4) is MP safe, many backends are not. 2017-08-09 16:44:39 +00:00
lpt_puc.c Use {isa,pci}_intr_establish"_xname"() for intrctl(8). 2017-04-27 10:01:53 +00:00
lynxfb.c fix inverted screen blanking logic 2016-07-10 21:40:45 +00:00
lynxfbreg.h
lynxfbvar.h
machfb.c enable font loading and screen resizing, now that the glyph cache can be 2017-06-02 19:35:54 +00:00
machfbreg.h
Makefile Remove hdaudio subdir. 2015-03-28 14:41:28 +00:00
Makefile.pcidevs Update the devlist2h.awk script to track the maximum lengths of vendor 2016-10-26 01:03:23 +00:00
mfi_pci.c - Use aprint*() instead of printf() in xxx_attach(). 2016-07-14 04:00:45 +00:00
mlx_pci.c Modularize the ld driver and all of its attachments. Ensure that all 2016-09-27 03:33:32 +00:00
mly_tables.h
mly.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
mlyio.h More on PR 41200: headers that declare ioctls should include sys/ioccom.h. 2015-09-06 06:00:59 +00:00
mlyreg.h Mmh, surprising bug. It's __packed, not __packed__. Here the structure is 2017-11-21 10:55:23 +00:00
mlyvar.h
mpii.c indent to magic logic 2018-01-15 12:58:06 +00:00
mpt_pci.c KNF. No functional change. 2016-07-14 04:19:26 +00:00
mpu_cmpci.c
mpu_eso.c
mpu_fms.c
mpu_yds.c
mvsata_pci.c switch to pci_intr_establish_xname() 2017-06-21 22:48:05 +00:00
nca_pci.c
neo-coeff.h
neo.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
neoreg.h
nfsmb.c zero the i2c_attach_args structure before filling it in. 2016-02-14 19:54:19 +00:00
nfsmbreg.h
njs_pci.c - Use aprint*() more in xxx_attach(). 2016-07-14 10:19:05 +00:00
nside.c PR/51774: David Binderman: Remove unused variable. 2017-01-04 15:49:28 +00:00
nvme_pci.c nvme(4): Added some delay before check RDY bit quirk when disabling device. 2018-04-18 10:05:59 +00:00
oboe.c Use C99 initializer for filterops 2017-10-25 08:12:37 +00:00
oboereg.h
ohci_pci.c Stop potential misuse of vendor names and USB vendor IDs in root hub 2018-04-09 16:21:09 +00:00
opl_cmpci.c
opl_eso.c
opl_fms.c
opl_sv.c
opl_yds.c
optiide.c Use the universal pciide_detach() for detach function of all remaining 2013-10-07 19:51:55 +00:00
pccbb.c Use pci_intr_establish_xname(). 2017-05-10 02:46:33 +00:00
pccbbreg.h
pccbbvar.h
pci_map.c Modify some variables to make code more understandable. 2017-03-17 11:21:45 +00:00
pci_quirks.c - Add new PCI quirk PCI_QUIRK_HASEXTCNF and PCI_QUIRK_NOEXTCNF. Some devices' 2018-02-28 05:50:06 +00:00
pci_stub.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
pci_subr.c - Add PCie Link Activation ECN. 2018-02-01 09:09:14 +00:00
pci_usrreq.c introduce a better pci_drvname() and PCI_IOC_DRVNAME as pciio_drvnameonbus() 2016-09-24 23:12:54 +00:00
pci_verbose.c Merge the 3 copies of devlist2h.awk that deal with 16 bit key and value 2014-09-21 14:30:22 +00:00
pci_verbose.h Increase max string length for PCI Product names. Affects only kernels 2016-10-25 05:43:40 +00:00
pci.c IF PCIe's Alternative Routing-ID Interpretation (ARI) is enabled in a bridge, 2017-04-05 04:04:54 +00:00
pcibusprint.c
pciconf.c Don't use class or typename as a variable name. 2014-09-05 05:29:16 +00:00
pciconf.h
pcidevs add realtek RT525A PCI-E card reader 2018-04-24 18:08:56 +00:00
pcidevs_data.h regen 2018-04-24 18:10:32 +00:00
pcidevs.h regen 2018-04-24 18:10:32 +00:00
pciide_acard_reg.h
pciide_acer_reg.h Apply workaround from FreeBSD to fix read data corruption observed 2017-07-21 21:01:13 +00:00
pciide_apollo_reg.h
pciide_cmd_reg.h
pciide_common.c move ata_queue_alloc(1) and ata_queue_free() calls to ata_channel_init() 2017-10-20 07:06:05 +00:00
pciide_cy693_reg.h
pciide_geode_reg.h
pciide_hpt_reg.h
pciide_i31244_reg.h
pciide_ite_reg.h
pciide_ixp_reg.h
pciide_natsemi_reg.h
pciide_opti_reg.h
pciide_pdc202xx_reg.h
pciide_piccolo_reg.h
pciide_piix_reg.h
pciide_sch_reg.h
pciide_sii3112_reg.h
pciide_sis_reg.h
pciide_sl82c105_reg.h
pciide_svwsata_reg.h
pciide.c
pciidereg.h
pciidevar.h s/static inline/static __inline/g for consistency. 2018-04-19 21:50:06 +00:00
pciio.h introduce a better pci_drvname() and PCI_IOC_DRVNAME as pciio_drvnameonbus() 2016-09-24 23:12:54 +00:00
pcireg.h - Add PCie Link Activation ECN. 2018-02-01 09:09:14 +00:00
pcivar.h s/static inline/static __inline/g for consistency. 2018-04-19 21:50:06 +00:00
pcscp.c Update a URL of Am53c974A technical manual. 2017-12-22 13:58:11 +00:00
pcscpreg.h
pdcide.c Use the universal pciide_detach() for detach function of all remaining 2013-10-07 19:51:55 +00:00
pdcsata.c move ata_queue_alloc(1) and ata_queue_free() calls to ata_channel_init() 2017-10-20 07:06:05 +00:00
piixide.c Rename macro (sync with pcidevs rev. 1.1246). No functional change. 2016-02-01 08:28:48 +00:00
piixpm.c Fix 0x%d and 0x%u. 2017-03-29 09:04:35 +00:00
piixpmreg.h Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
plx9060reg.h
plx9060var.h
pm2fb.c use hardware rendering for anti-aliased fonts 2016-12-16 23:34:46 +00:00
pm2reg.h flesh out alpha operations properly 2016-12-16 23:31:16 +00:00
pm3fb.c print out the actual stride value 2017-03-06 16:49:26 +00:00
pm3reg.h moar registers 2017-06-17 16:11:14 +00:00
ppb.c Fix typos. 2017-05-10 03:24:31 +00:00
ppbreg.h Add VGA 16bit decode bit into the PCI bridge control register. This bit is 2017-12-18 04:48:28 +00:00
ppbvar.h Enable PCIe's interrupt as much as possilbe in ppb(4) to detect and count 2017-04-18 05:21:34 +00:00
puc.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
puccn.c No functional change: 2014-03-05 05:56:04 +00:00
puccn.h No functional change: 2014-03-05 05:56:04 +00:00
pucdata.c Add 300 series chipset support. 2018-04-13 07:57:04 +00:00
pucvar.h Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
pwdog.c Check pmf_device_register return value. NFC 2017-01-20 12:25:07 +00:00
r128fb.c allow font loading etc. 2017-06-21 21:40:36 +00:00
r128fbreg.h
radeonfb_bios.c Typos. 2018-02-08 09:05:16 +00:00
radeonfb_i2c.c
radeonfb.c Fix integer overflows noted by Silvio Cesare of InfoSect. 2018-01-24 05:35:58 +00:00
radeonfbreg.h consistency... 2017-08-23 19:21:14 +00:00
radeonfbvar.h - unmap registers in WSDISPLAYIO_MODE_MAPPED only if a drm attached 2014-11-05 19:39:17 +00:00
rccide.c Use the universal pciide_detach() for detach function of all remaining 2013-10-07 19:51:55 +00:00
rdcide_reg.h
rdcide.c Add support for RDC R1012 IDE controller. 2014-07-08 18:01:26 +00:00
README
rtsx_pci.c rtsx(4): Add support for RT525A, from openbsd. 2018-04-24 18:34:30 +00:00
satalink.c move ata_queue_alloc(1) and ata_queue_free() calls to ata_channel_init() 2017-10-20 07:06:05 +00:00
schide.c Use the universal pciide_detach() for detach function of all remaining 2013-10-07 19:51:55 +00:00
sdhc_pci.c Use {isa,pci}_intr_establish"_xname"() for intrctl(8). 2017-04-27 10:01:53 +00:00
siisata_pci.c switch to pci_intr_establish_xname() 2017-06-21 22:48:05 +00:00
siop_pci_common.c Add 53C810AP for FreeAXP's emulation of a DEC KZPAA adapter. 2016-10-17 16:02:10 +00:00
siop_pci_common.h
siop_pci.c
sisfb.c Complete WSDISPLAYIO_SMODE/WSDISPLAYIO_GMODE support. 2014-01-26 21:22:49 +00:00
sisfb.h
siside.c PR/48858: Roy Bixler: siside0:0:1:0: lost interrupt, submitter claims this 2014-05-31 16:25:29 +00:00
slide.c Use the universal pciide_detach() for detach function of all remaining 2013-10-07 19:51:55 +00:00
sti_pci.c Use pcireg.h's macro. No functional change. 2017-10-05 06:37:45 +00:00
stpcide.c Use the universal pciide_detach() for detach function of all remaining 2013-10-07 19:51:55 +00:00
sv.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
svreg.h
svvar.h
svwsata.c Merge support for SATA NCQ (Native Command Queueing) from jdolecek-ncq branch 2017-10-07 16:05:31 +00:00
tdvfb.c Use %zu for size_t 2014-02-28 05:55:23 +00:00
tdvfbreg.h
tdvfbvar.h
tga_conf.c
tga.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
tgareg.h
tgavar.h
toshide.c Drop trailing whitespace. 2013-10-07 19:53:05 +00:00
trm.c fix tpyo 2017-02-09 20:42:30 +00:00
trmreg.h
twa.c Add a missing ')' in the call to bswap64(). 2016-09-27 12:04:16 +00:00
twaio.h More on PR 41200: headers that declare ioctls should include sys/ioccom.h. 2015-09-06 06:00:59 +00:00
twareg.h
twavar.h
twe.c Modularize the ld driver and all of its attachments. Ensure that all 2016-09-27 03:33:32 +00:00
tweio.h
twereg.h
twevar.h
ubsec.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
ubsecreg.h Add header guards and necessary includes. 2015-04-13 15:43:43 +00:00
ubsecvar.h Add header guards and necessary includes. 2015-04-13 15:43:43 +00:00
uhci_pci.c Stop potential misuse of vendor names and USB vendor IDs in root hub 2018-04-09 16:21:09 +00:00
unichromeaccel.h
unichromeconfig.h
unichromefb.c Remove references to SPLASHSCREEN_PROGRESS 2015-10-25 22:48:23 +00:00
unichromehw.h
unichromemode.h
unichromereg.h
universe_pci_var.h
universe_pci.c make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
usb_pci.c
usb_pci.h
vga_pci.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
vga_pcivar.h
viaenv.c according to VT82C686A chip specs, the VIA Technologies device 0x3057 2018-03-04 13:24:17 +00:00
viaide.c move ata_queue_alloc(1) and ata_queue_free() calls to ata_channel_init() 2017-10-20 07:06:05 +00:00
viomb.c reorganize the attachment process for virtio child devices, so that 2017-03-25 18:02:06 +00:00
viornd.c reorganize the attachment process for virtio child devices, so that 2017-03-25 18:02:06 +00:00
vioscsi.c free the virtio slot _before_ calling scsipi_done(), so that driver is able 2017-05-15 21:30:37 +00:00
vioscsireg.h Add vioscsi, compile tested only (toxic) 2015-10-29 01:56:12 +00:00
virtio_pci.c Explicitly enable PCI_COMMAND_MASTER_ENABLE and PCI_COMMAND_IO_ENABLE. 2018-02-15 19:05:10 +00:00
virtio.c Cosmetic - consistently use #define<SPACE> 2018-02-14 14:04:48 +00:00
virtioreg.h Add vioscsi, compile tested only (toxic) 2015-10-29 01:56:12 +00:00
virtiovar.h Reorg the virtio(4) config(9) code to be explicitly pci specific. 2017-08-02 08:39:14 +00:00
voodoofb.c KNF. No functional change. 2016-07-11 11:31:49 +00:00
voodoofbreg.h
voyager.c pass clockframe aropund in voyager_intr() 2016-11-16 22:05:19 +00:00
voyagervar.h s/static inline/static __inline/g for consistency. 2018-04-19 21:50:06 +00:00
wcfb.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
wcfbreg.h
weasel_pci.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
weaselreg.h
wsdisplay_pci.c
wsdisplay_pci.h
xhci_pci.c Stop potential misuse of vendor names and USB vendor IDs in root hub 2018-04-09 16:21:09 +00:00
yds.c PR/52331: ydc driver: sleep-under-spin-mutex bugs in yds_allocmem 2017-06-25 16:07:48 +00:00
ydsreg.h
ydsvar.h PR/52331: ydc driver: sleep-under-spin-mutex bugs in yds_allocmem 2017-06-25 16:07:48 +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