Split "xi" into a "xirc" frontend (similar to mhzc; it attaches two child
devices) and a "xi" backend.
My CE2 and CEM2 cards are now probed correctly. However, there are still
some problems with one model of the CE2, and the CEM2 doesn't seem to get
any modem interrupts.
While I'm at it, fix several bugs:
* The tuple scan for the MAC address was broken in multiple ways.
* xi_intr() did not deal well with a shared interrupt.
* We were setting the wrong page number to look at the receive status. (How
did this work???)
* Remove the xi_full_reset() from xi_reset(). Move the parts of
xi_full_reset() needed to undo the effect of xi_stop() into xi_init(). This
allows a stop/init pair to DTRT, and much quicker, as used by various
ioctl()s.
* Set the TRS register before reading the TSO register, as the Linux driver
does. While I'm at it, fix the name.
* Fix numerous problems with xi_set_address(). "Where do I begin?" There's a
chance that multicast works now, but I haven't tested it.
* Explicitly clear the MSR register, and also force SELECT_MII to 0 if we
didn't find any PHYs.
* Clean up some cruft that appears to be bogus.
Probably needs more work, but it's a start.
2004-08-08 09:56:08 +04:00
|
|
|
# $NetBSD: files.pcmcia,v 1.46 2004/08/08 05:56:08 mycroft Exp $
|
1997-10-18 07:17:09 +04:00
|
|
|
#
|
1997-10-17 03:27:16 +04:00
|
|
|
# Config.new file and device description for machine-independent PCMCIA code.
|
|
|
|
# Included by ports that need it.
|
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag PCMCIAVERBOSE
|
1997-10-17 03:27:16 +04:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device pcmcia {[function = -1], [irq = -1]}
|
1997-10-18 00:51:19 +04:00
|
|
|
file dev/pcmcia/pcmcia.c pcmcia
|
|
|
|
file dev/pcmcia/pcmcia_cis.c pcmcia
|
1998-12-24 07:51:59 +03:00
|
|
|
file dev/pcmcia/pcmcia_cis_quirks.c pcmcia
|
1997-10-17 03:27:16 +04:00
|
|
|
|
|
|
|
# device declaration in sys/conf/files
|
1998-11-26 18:32:44 +03:00
|
|
|
attach pcmcia at pcmciabus
|
1997-10-17 03:27:16 +04:00
|
|
|
|
1998-12-24 07:51:59 +03:00
|
|
|
# 3Com 3c589 Ethernet, 3c562 multifunction Ethernet, and 3CXEM556
|
|
|
|
# multifunction Ethernet controllers
|
1997-10-17 03:27:16 +04:00
|
|
|
# device declaration in sys/conf/files
|
|
|
|
attach ep at pcmcia with ep_pcmcia
|
|
|
|
file dev/pcmcia/if_ep_pcmcia.c ep_pcmcia
|
|
|
|
|
|
|
|
# National Semiconductor DS8390/WD83C690-based boards
|
|
|
|
# (NE[12]000, and clones)
|
2001-08-04 15:38:57 +04:00
|
|
|
attach ne at pcmcia with ne_pcmcia: rtl80x9, dl10019, ax88190, mii_bitbang
|
1997-10-17 03:27:16 +04:00
|
|
|
file dev/pcmcia/if_ne_pcmcia.c ne_pcmcia
|
|
|
|
|
|
|
|
# Adaptec APA-1460 SCSI Host Adapter
|
|
|
|
attach aic at pcmcia with aic_pcmcia
|
|
|
|
file dev/pcmcia/aic_pcmcia.c aic_pcmcia
|
|
|
|
|
2000-03-20 00:54:01 +03:00
|
|
|
# NCR 53c80-based cards
|
2000-03-18 20:59:52 +03:00
|
|
|
attach nca at pcmcia with nca_pcmcia
|
|
|
|
file dev/pcmcia/nca_pcmcia.c nca_pcmcia
|
|
|
|
|
2000-03-20 00:54:01 +03:00
|
|
|
# NCR 53c406-based cards
|
|
|
|
attach esp at pcmcia with esp_pcmcia
|
|
|
|
file dev/pcmcia/esp_pcmcia.c esp_pcmcia
|
|
|
|
|
2004-07-07 12:47:22 +04:00
|
|
|
# Fujitsu MB87030-based cards
|
|
|
|
attach spc at pcmcia with spc_pcmcia
|
|
|
|
file dev/pcmcia/spc_pcmcia.c spc_pcmcia
|
|
|
|
|
1997-10-17 03:27:16 +04:00
|
|
|
attach com at pcmcia with com_pcmcia
|
|
|
|
file dev/pcmcia/com_pcmcia.c com_pcmcia
|
|
|
|
|
|
|
|
# Digital RoamAbout / Lucent WaveLAN PCMCIA card
|
|
|
|
attach wl at pcmcia with wl_pcmcia
|
|
|
|
file dev/pcmcia/if_wl_pcmcia.c wl_pcmcia
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_wl_pcmcia.h WL_TIMER WLP_CC_DEBUG WL_DEBUG MMC_STATUS
|
1999-09-21 07:39:37 +04:00
|
|
|
WL_IFCNTRS WL_TIMING
|
1997-10-17 03:27:16 +04:00
|
|
|
|
1998-01-23 04:18:52 +03:00
|
|
|
# PCMCIA IDE controller
|
|
|
|
attach wdc at pcmcia with wdc_pcmcia
|
|
|
|
file dev/pcmcia/wdc_pcmcia.c wdc_pcmcia
|
1997-10-17 03:27:16 +04:00
|
|
|
|
|
|
|
# SMC91Cxx Ethernet Controllers (i.e. Megahertz X-Jack)
|
|
|
|
attach sm at pcmcia with sm_pcmcia
|
|
|
|
file dev/pcmcia/if_sm_pcmcia.c sm_pcmcia
|
1998-03-22 07:39:56 +03:00
|
|
|
|
|
|
|
# MB8696x Ethernet Controllers (i.e. TDK LAK CD021BX)
|
|
|
|
attach mbe at pcmcia with mbe_pcmcia
|
|
|
|
file dev/pcmcia/if_mbe_pcmcia.c mbe_pcmcia
|
1998-06-21 22:45:41 +04:00
|
|
|
|
|
|
|
# PCMCIA Floppy controller
|
2004-07-07 12:47:22 +04:00
|
|
|
#attach fdc at pcmcia with fdc_pcmcia
|
|
|
|
#file dev/pcmcia/fdc_pcmcia.c fdc_pcmcia
|
1998-10-11 01:27:21 +04:00
|
|
|
|
|
|
|
# PCMCIA multi-port serial cards
|
|
|
|
device pcmcom {[slave = -1]}
|
|
|
|
attach pcmcom at pcmcia
|
|
|
|
attach com at pcmcom with com_pcmcom
|
|
|
|
file dev/pcmcia/pcmcom.c pcmcom | com_pcmcom needs-flag
|
1999-01-01 22:30:03 +03:00
|
|
|
|
|
|
|
# Xircom Netwave
|
|
|
|
device cnw: arp, ether, ifnet
|
|
|
|
attach cnw at pcmcia
|
|
|
|
file dev/pcmcia/if_cnw.c cnw
|
1999-07-15 02:24:07 +04:00
|
|
|
|
1999-09-28 21:58:55 +04:00
|
|
|
# Megaherz combo cards
|
|
|
|
device mhzc { }
|
|
|
|
attach mhzc at pcmcia
|
|
|
|
attach com at mhzc with com_mhzc
|
|
|
|
attach sm at mhzc with sm_mhzc
|
|
|
|
file dev/pcmcia/mhzc.c mhzc | com_mhzc | sm_mhzc
|
2001-02-24 04:59:46 +03:00
|
|
|
needs-flag
|
2000-01-24 02:59:21 +03:00
|
|
|
|
|
|
|
# Raylink/WebGear WLAN IEEE 802.11 FH
|
|
|
|
device ray: arp, ether, ifnet
|
|
|
|
attach ray at pcmcia
|
|
|
|
file dev/pcmcia/if_ray.c ray
|
|
|
|
|
1999-11-04 20:12:43 +03:00
|
|
|
# AMD 79c930-based 802.11 cards (including BayStack 650 FH card).
|
2001-02-24 04:59:46 +03:00
|
|
|
attach awi at pcmcia with awi_pcmcia
|
1999-11-04 20:12:43 +03:00
|
|
|
file dev/pcmcia/if_awi_pcmcia.c awi_pcmcia
|
|
|
|
|
2001-05-06 07:26:38 +04:00
|
|
|
# Lucent & Intersil WaveLan IEEE (802.11)
|
|
|
|
attach wi at pcmcia with wi_pcmcia
|
|
|
|
file dev/pcmcia/if_wi_pcmcia.c wi_pcmcia
|
|
|
|
|
Split "xi" into a "xirc" frontend (similar to mhzc; it attaches two child
devices) and a "xi" backend.
My CE2 and CEM2 cards are now probed correctly. However, there are still
some problems with one model of the CE2, and the CEM2 doesn't seem to get
any modem interrupts.
While I'm at it, fix several bugs:
* The tuple scan for the MAC address was broken in multiple ways.
* xi_intr() did not deal well with a shared interrupt.
* We were setting the wrong page number to look at the receive status. (How
did this work???)
* Remove the xi_full_reset() from xi_reset(). Move the parts of
xi_full_reset() needed to undo the effect of xi_stop() into xi_init(). This
allows a stop/init pair to DTRT, and much quicker, as used by various
ioctl()s.
* Set the TRS register before reading the TSO register, as the Linux driver
does. While I'm at it, fix the name.
* Fix numerous problems with xi_set_address(). "Where do I begin?" There's a
chance that multicast works now, but I haven't tested it.
* Explicitly clear the MSR register, and also force SELECT_MII to 0 if we
didn't find any PHYs.
* Clean up some cruft that appears to be bogus.
Probably needs more work, but it's a start.
2004-08-08 09:56:08 +04:00
|
|
|
# Xircom Ethernet and Ethernet+Modem cards
|
|
|
|
device xirc { }
|
2000-06-06 03:14:22 +04:00
|
|
|
device xi: arp, ether, ifnet, mii
|
Split "xi" into a "xirc" frontend (similar to mhzc; it attaches two child
devices) and a "xi" backend.
My CE2 and CEM2 cards are now probed correctly. However, there are still
some problems with one model of the CE2, and the CEM2 doesn't seem to get
any modem interrupts.
While I'm at it, fix several bugs:
* The tuple scan for the MAC address was broken in multiple ways.
* xi_intr() did not deal well with a shared interrupt.
* We were setting the wrong page number to look at the receive status. (How
did this work???)
* Remove the xi_full_reset() from xi_reset(). Move the parts of
xi_full_reset() needed to undo the effect of xi_stop() into xi_init(). This
allows a stop/init pair to DTRT, and much quicker, as used by various
ioctl()s.
* Set the TRS register before reading the TSO register, as the Linux driver
does. While I'm at it, fix the name.
* Fix numerous problems with xi_set_address(). "Where do I begin?" There's a
chance that multicast works now, but I haven't tested it.
* Explicitly clear the MSR register, and also force SELECT_MII to 0 if we
didn't find any PHYs.
* Clean up some cruft that appears to be bogus.
Probably needs more work, but it's a start.
2004-08-08 09:56:08 +04:00
|
|
|
attach xirc at pcmcia
|
|
|
|
attach com at xirc with com_xirc
|
|
|
|
attach xi at xirc with xi_xirc
|
|
|
|
file dev/pcmcia/xirc.c xirc | com_xirc | xi_xirc
|
|
|
|
needs-flag
|
|
|
|
file dev/pcmcia/if_xi.c xi
|
2000-06-06 20:15:31 +04:00
|
|
|
|
|
|
|
# IBM Tropic-based Token Ring cards
|
|
|
|
attach tr at pcmcia with tr_pcmcia
|
|
|
|
file dev/pcmcia/if_tr_pcmcia.c tr_pcmcia
|
2000-12-12 02:16:50 +03:00
|
|
|
|
2001-11-26 14:17:34 +03:00
|
|
|
# Crystal Semiconductor CS8920 based cards
|
|
|
|
attach cs at pcmcia with cs_pcmcia
|
|
|
|
file dev/pcmcia/if_cs_pcmcia.c cs_pcmcia
|
|
|
|
|
2000-12-12 02:16:50 +03:00
|
|
|
# Aironet PC4500/PC4800
|
|
|
|
attach an at pcmcia with an_pcmcia
|
|
|
|
file dev/pcmcia/if_an_pcmcia.c an_pcmcia
|
2001-01-05 16:09:15 +03:00
|
|
|
|
|
|
|
# ISDN devices
|
2001-02-24 04:59:46 +03:00
|
|
|
attach isic at pcmcia with isic_pcmcia
|
|
|
|
file dev/pcmcia/isic_pcmcia.c isic_pcmcia
|
2001-01-05 16:09:15 +03:00
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_isicpcmcia.h ISICPCMCIA_AVM_A1 ISICPCMCIA_ELSA_ISDNMC
|
2001-01-19 01:13:59 +03:00
|
|
|
ISICPCMCIA_ELSA_MCALL ISICPCMCIA_SBSPEEDSTAR2
|
2001-01-05 16:09:15 +03:00
|
|
|
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/pcmcia/isic_pcmcia_avm_fritz.c isic_pcmcia
|
|
|
|
file dev/pcmcia/isic_pcmcia_elsa_isdnmc.c isic_pcmcia
|
|
|
|
file dev/pcmcia/isic_pcmcia_elsa_mcall.c isic_pcmcia
|
|
|
|
file dev/pcmcia/isic_pcmcia_sbspeedstar2.c isic_pcmcia
|
2001-09-29 22:46:16 +04:00
|
|
|
|
|
|
|
# Audio devices
|
|
|
|
# Eiger Labs with ESS 1688
|
2002-04-22 13:41:19 +04:00
|
|
|
device esl { }: audiobus, midibus, auconv, mulaw
|
2001-09-29 22:46:16 +04:00
|
|
|
attach esl at pcmcia with esl_pcmcia
|
|
|
|
file dev/pcmcia/esl_pcmcia.c esl_pcmcia
|
|
|
|
file dev/pcmcia/esl.c esl
|
|
|
|
|
|
|
|
attach opl at esl with opl_esl
|
|
|
|
file dev/pcmcia/opl_esl.c opl_esl
|
2001-11-26 14:17:34 +03:00
|
|
|
|