NetBSD/sys/dev/pci
tsutsui d3701fc18a Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...
2001-11-03 17:01:16 +00:00
..
bktr Fix check in device open. 2001-10-18 16:08:05 +00:00
adv_pci.c
adw_pci.c
agp_ali.c Clean up the AGP match/attach code somewhat. 2001-09-15 00:24:59 +00:00
agp_amd.c Remove and unnecessary cast, and avoid a memory leak in the event 2001-10-06 02:48:50 +00:00
agp_i810.c Add message to explain failure if the internal i810 config registers 2001-09-20 20:00:16 +00:00
agp_intel.c Clean up the AGP match/attach code somewhat. 2001-09-15 00:24:59 +00:00
agp_sis.c Clean up the AGP match/attach code somewhat. 2001-09-15 00:24:59 +00:00
agp_via.c Clean up the AGP match/attach code somewhat. 2001-09-15 00:24:59 +00:00
agp.c Don't map the aperture into KVA, it isn't needed. 2001-10-01 21:54:48 +00:00
agpreg.h AGP GART support code. Originally written by Doug Rabson for FreeBSD, 2001-09-10 10:01:00 +00:00
agpvar.h Don't map the aperture into KVA, it isn't needed. 2001-10-01 21:54:48 +00:00
ahc_pci.c
auich.c Add a new optional method, dev_ioctl, to the audio hardware driver interface. 2001-10-03 00:04:47 +00:00
auichreg.h
auvia.c Add a new optional method, dev_ioctl, to the audio hardware driver interface. 2001-10-03 00:04:47 +00:00
auviavar.h
bha_pci.c
btvmei.c receive, not recieve 2001-06-12 15:17:10 +00:00
btvmeii.c bcopy -> memcpy 2001-07-07 16:37:38 +00:00
btvmeireg.h Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
btvmeivar.h
cac_pci.c
cmpci.c Add a new optional method, dev_ioctl, to the audio hardware driver interface. 2001-10-03 00:04:47 +00:00
cmpcireg.h - Add opl at cmpci attachment. 2001-09-04 13:36:07 +00:00
cmpcivar.h - Add opl at cmpci attachment. 2001-09-04 13:36:07 +00:00
com_puc.c
cs428x.c
cs428x.h
cs428xreg.h
cs4280_image.h
cs4280.c Add a new optional method, dev_ioctl, to the audio hardware driver interface. 2001-10-03 00:04:47 +00:00
cs4280reg.h
cs4281.c Add a new optional method, dev_ioctl, to the audio hardware driver interface. 2001-10-03 00:04:47 +00:00
cs4281reg.h
cy82c693.c
cy82c693reg.h
cy82c693var.h
cy_pci.c
cz.c
czreg.h
devlist2h.awk
dpt_pci.c
eap.c Add a new optional method, dev_ioctl, to the audio hardware driver interface. 2001-10-03 00:04:47 +00:00
eapreg.h
ehci_pci.c
emuxki.c De-__P()ify. Suggested by Lennart Augustsson. 2001-10-22 20:31:26 +00:00
emuxkireg.h Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512. 2001-10-17 18:39:41 +00:00
emuxkivar.h Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512. 2001-10-17 18:39:41 +00:00
esm.c Add a new optional method, dev_ioctl, to the audio hardware driver interface. 2001-10-03 00:04:47 +00:00
esmreg.h
esmvar.h
eso.c Add a new optional method, dev_ioctl, to the audio hardware driver interface. 2001-10-03 00:04:47 +00:00
esoreg.h
esovar.h
files.agp Give each AGP controller its own attribute, and let the "agpbus" 2001-09-15 01:32:10 +00:00
files.pci Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters, 2001-11-03 17:01:16 +00:00
fms.c Add a new optional method, dev_ioctl, to the audio hardware driver interface. 2001-10-03 00:04:47 +00:00
fmsvar.h
fwlynx_pci.c
fwohci_pci.c
hifn7751.c bcmp -> memcmp 2001-07-07 16:47:43 +00:00
hifn7751reg.h
hifn7751var.h
i82365_pci.c
i82365_pcivar.h
if_an_pci.c Remove unnecessary include files. From Onno van der Linden. 2001-07-08 17:55:50 +00:00
if_de.c bcmp -> memcmp 2001-07-07 16:47:43 +00:00
if_devar.h withough -> without 2001-06-13 10:45:57 +00:00
if_en_pci.c
if_ep_pci.c Remove unnecessary include files. From Onno van der Linden. 2001-07-08 17:55:50 +00:00
if_epic_pci.c Remove unnecessary include files. From Onno van der Linden. 2001-07-08 17:55:50 +00:00
if_esh_pci.c Remove unnecessary include files. From Onno van der Linden. 2001-07-08 17:55:50 +00:00
if_ex_pci.c Improve intr_ack code to support for 3c556,3c556B. 2001-08-18 05:49:28 +00:00
if_fpa.c bcopy -> strcpy 2001-07-07 16:39:16 +00:00
if_fxp_pci.c recognize fxp on IBM thinkpad T23. from akimichi@wide.ad.jp 2001-11-02 03:40:47 +00:00
if_gem_pci.c Remove more cruft left over from copying bits of other drivers. 2001-10-18 15:09:15 +00:00
if_gsip.c
if_hme_pci.c Add a missing return statement in an error case, and g/c some 2001-10-18 06:29:55 +00:00
if_le_pci.c Remove unnecessary include files. From Onno van der Linden. 2001-07-08 17:55:50 +00:00
if_levar.h
if_lmc_common.c Make the LMC driver bus_dma and endian clean (big-endian mode does not appear 2001-08-27 17:47:35 +00:00
if_lmc_media.c missing NBPFILTER > 0 2001-11-01 17:32:33 +00:00
if_lmc_nbsd.c Get rid of debug printf. 2001-08-27 22:38:34 +00:00
if_lmc_types.h Make the LMC driver bus_dma and endian clean (big-endian mode does not appear 2001-08-27 17:47:35 +00:00
if_lmc.c Make the LMC driver bus_dma and endian clean (big-endian mode does not appear 2001-08-27 17:47:35 +00:00
if_lmcioctl.h Make the LMC driver bus_dma and endian clean (big-endian mode does not appear 2001-08-27 17:47:35 +00:00
if_lmcvar.h Make the LMC driver bus_dma and endian clean (big-endian mode does not appear 2001-08-27 17:47:35 +00:00
if_ne_pci.c Remove unnecessary include files. From Onno van der Linden. 2001-07-08 17:55:50 +00:00
if_ntwoc_pci.c add (u_long) casts for sparc64. 2001-08-14 11:55:38 +00:00
if_ntwoc_pcireg.h
if_pcn.c Fix an obvious typo found while reading the source. 2001-09-02 13:17:54 +00:00
if_pcnreg.h New driver for the AMD PCnet-PCI family of Ethernet chips. This 2001-08-27 19:42:18 +00:00
if_rtk_pci.c Costmetic change. 2001-07-18 01:10:09 +00:00
if_sf_pci.c Remove unnecessary include files. From Onno van der Linden. 2001-07-08 17:55:50 +00:00
if_sip.c Make sure to initialize the all Rx descriptors properly in *_init() 2001-07-23 17:26:50 +00:00
if_sipreg.h
if_ste.c Make sure to initialize the all Rx descriptors properly in *_init() 2001-07-23 17:26:50 +00:00
if_stereg.h Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This 2001-06-19 23:00:47 +00:00
if_stge.c The flow control registers are 16 bits wide, not 32. 2001-10-10 03:41:24 +00:00
if_stgereg.h Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet 2001-07-25 00:11:51 +00:00
if_ti.c precede, not preceed. 2001-08-20 12:00:46 +00:00
if_tireg.h IFM_1000_TX -> IFM_1000_T, as (breifly) discussed on tech-net. 2001-06-30 17:53:58 +00:00
if_tl.c - Allocate control structures at attach time rather than at init time. 2001-09-20 10:04:10 +00:00
if_tlp_pci.c Remove unnecessary include files. From Onno van der Linden. 2001-07-08 17:55:50 +00:00
if_tlregs.h Improvement: allocate one page of dmamem for Rx, Tx and nullbuff instead of 2001-08-06 19:20:26 +00:00
if_tlvar.h - Allocate control structures at attach time rather than at init time. 2001-09-20 10:04:10 +00:00
if_vr.c mtod() with uintptr_t, not bus_addr_t. 2001-08-14 11:57:26 +00:00
if_vrreg.h
if_wi_pci.c Add Intersil Prism2.5 Mini-PCI wavelan. 2001-10-13 15:00:23 +00:00
iha_pci.c Include uvm/uvm_extern.h for PAGE_SIZE. 2001-09-27 15:12:30 +00:00
iop_pci.c Save some info about the board for dpti. 2001-09-22 13:05:36 +00:00
isic_pci_avm_fritz_pci.c bcopy -> memcpy 2001-07-07 16:37:38 +00:00
isic_pci_elsa_qs1p.c
isic_pci.c
isic_pci.h
isp_pci.c Respect QLogic's errata- read BIU_ISR even on the 2300 2001-10-06 20:33:24 +00:00
ld_twe.c Centralise the geometry fudge. 2001-06-10 10:48:42 +00:00
lpt_puc.c
Makefile Install pcidevs.h, pcidevs_data.h, pciio.h, pcireg.h. 2001-09-13 21:52:30 +00:00
Makefile.pcidevs
mlx_pci.c Map both memory and IO space, but prefer using memory space. 2001-07-26 15:35:20 +00:00
mly_tables.h Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6 2001-07-30 19:59:04 +00:00
mly.c Remove unnecessary test. 2001-08-03 14:10:16 +00:00
mlyio.h Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6 2001-07-30 19:59:04 +00:00
mlyreg.h Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6 2001-07-30 19:59:04 +00:00
mlyvar.h Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6 2001-07-30 19:59:04 +00:00
mpu_cmpci.c MPU-401 compatible MIDI UART driver for C-Media CMI8x38 2001-09-04 13:07:59 +00:00
mpu_eso.c
mpu_fms.c
mpu_yds.c
neo-coeff.h
neo.c Add a new optional method, dev_ioctl, to the audio hardware driver interface. 2001-10-03 00:04:47 +00:00
neoreg.h
ohci_pci.c
opl_cmpci.c OPL3 driver for C-Media CMI8x38 2001-09-04 13:07:11 +00:00
opl_eso.c
opl_fms.c
opl_sv.c
opl_yds.c
pccbb.c Add PCI power management control. If the power state of a bridge is 2001-11-02 03:32:33 +00:00
pccbbreg.h Add some register definitions for TI PCI12XX and Toshiba ToPIC. 2001-08-30 09:20:17 +00:00
pccbbvar.h Add PCI power management control. If the power state of a bridge is 2001-11-02 03:32:33 +00:00
pci_map.c
pci_quirks.c
pci_subr.c Allow this file to be used in userspace, as well. 2001-09-13 21:42:57 +00:00
pci_usrreq.c Oops, didn't intend to enable pcimmap() yet. 2001-09-13 22:00:58 +00:00
pci.c Fix the semantics of __PCI_DEV_FUNCORDER so that they're actually useful: 2001-10-17 22:16:41 +00:00
pciconf.c Bump MAX_CONF_DEV to 32, add some missing newlines in error 2001-09-03 03:46:26 +00:00
pciconf.h Respect __PCI_BUS_DEVORDER. 2001-08-30 02:52:41 +00:00
pcidevs Add some VIA KT266 numbers. 2001-10-25 11:57:15 +00:00
pcidevs_data.h Regen. 2001-10-25 11:57:44 +00:00
pcidevs.h Regen. 2001-10-25 11:57:44 +00:00
pciide_acard_reg.h Make the various timing, etc. tables const, and add the __unused__ 2001-10-21 18:49:19 +00:00
pciide_acer_reg.h Make the various timing, etc. tables const, and add the __unused__ 2001-10-21 18:49:19 +00:00
pciide_amd_reg.h Make the various timing, etc. tables const, and add the __unused__ 2001-10-21 18:49:19 +00:00
pciide_apollo_reg.h Make the various timing, etc. tables const, and add the __unused__ 2001-10-21 18:49:19 +00:00
pciide_cmd_reg.h Make the various timing, etc. tables const, and add the __unused__ 2001-10-21 18:49:19 +00:00
pciide_cy693_reg.h Make the various timing, etc. tables const, and add the __unused__ 2001-10-21 18:49:19 +00:00
pciide_hpt_reg.h Make the various timing, etc. tables const, and add the __unused__ 2001-10-21 18:49:19 +00:00
pciide_opti_reg.h Make the various timing, etc. tables const, and add the __unused__ 2001-10-21 18:49:19 +00:00
pciide_pdc202xx_reg.h Make the various timing, etc. tables const, and add the __unused__ 2001-10-21 18:49:19 +00:00
pciide_piix_reg.h Make the various timing, etc. tables const, and add the __unused__ 2001-10-21 18:49:19 +00:00
pciide_sis_reg.h Make the various timing, etc. tables const, and add the __unused__ 2001-10-21 18:49:19 +00:00
pciide.c Add Via KT266 as an ATA100 controller. 2001-10-26 10:38:12 +00:00
pciidereg.h
pciidevar.h For ports that wire up pciide in compatibility mode, have 2001-06-08 04:48:54 +00:00
pciio.h Fix tyop. 2001-09-14 06:09:42 +00:00
pcireg.h Rename PCI_MAPREG_TYPE_ROM to PCI_MAPREG_ROM_ENABLE to keep up with pciconf.? 2001-08-30 02:53:56 +00:00
pcivar.h Add an ioctl interface to the PCI bus. Add ioctls to read/write 2001-09-13 21:49:40 +00:00
pcscp.c Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places. 2001-07-19 16:36:14 +00:00
pcscpreg.h
plx9060reg.h
plx9060var.h
ppb.c
ppbreg.h added bridge secondary bus reset macros. 2001-07-06 18:07:16 +00:00
puc.c
puccn.c add missing #include "opt_kgdb.h" 2001-05-30 15:24:23 +00:00
puccn.h
pucdata.c Add support for the PCI-400 card and correct the clock rate for all the 2001-08-06 22:25:36 +00:00
pucvar.h
README
siop_pci_common.c
siop_pci_common.h
siop_pci.c
sv.c Add a new optional method, dev_ioctl, to the audio hardware driver interface. 2001-10-03 00:04:47 +00:00
svreg.h
svvar.h
tga_conf.c
tga.c Use bus_space_mmap(). 2001-09-04 06:59:10 +00:00
tgareg.h
tgavar.h Use bus_space_mmap(). 2001-09-04 06:59:10 +00:00
trm.c Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters, 2001-11-03 17:01:16 +00:00
trmreg.h Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters, 2001-11-03 17:01:16 +00:00
twe.c Back out previous - it causes panics. 2001-10-10 09:33:36 +00:00
twereg.h
twevar.h Back out previous - it causes panics. 2001-10-10 09:33:36 +00:00
uhci_pci.c Force BIOS out of the game by setting the LEGSUP register to its default 2001-10-25 01:46:26 +00:00
universe_pci_var.h
universe_pci.c
vga_pci.c Gather information about the mappable regions of the card at 2001-09-14 16:54:20 +00:00
vga_pcivar.h
viaenv.c Use PWAIT for the lock, not 0. 2001-08-27 11:24:38 +00:00
viapm.c
viapmvar.h
yds.c Add a new optional method, dev_ioctl, to the audio hardware driver interface. 2001-10-03 00:04:47 +00:00
ydsreg.h
ydsvar.h

$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