PCMCIA(4)
π PCMCIA(4) / pcmcia(4) β PC Card intro, bestie π
okay so this is the PCMCIA(4) page from the Kernel Interfaces Manual, and the manual name we're folding in right here is pcmcia β the intro to PCMCIA (PC Card) support. It's giving classic NetBSD bus energy, and we're gonna walk through it together, no cap. π³β¨
β¨ NAME β¨
pcmcia β introduction to PCMCIA (PC Card) support. This is the βhey bestie, hereβs the whole PCMCIA vibeβ page. π
π SYNOPSIS π
pcmcia* at pcic? controller ? socket ?
pcmcia* at tcic? controller ? socket ?
pcmcia* at cardslot?
options PCMCIAVERBOSE
π amiga
pcmcia* at pccard0
π hpcmips
pcmcia* at it8368e? controller ? socket ?
pcmcia* at plumpcmcia? controller ? socket ?
π hpcsh
pcmcia* at hd64461pcmcia? controller ? socket ?
π§© sh3
pcmcia* at shpcic? controller ? socket ?
βοΈ sparc
pcmcia* at nell?
πΈ DESCRIPTION πΈ
NetBSD provides machine-independent bus support and drivers for PCMCIA (Personal Computer Memory Card International Association) a.k.a. PC Card, CardBus devices. Itβs literally the whole βcards, but make it bus supportβ situation, and NetBSD has the drivers. π«Ά
π HARDWARE π
NetBSD includes the following machine-independent PCMCIA drivers, sorted by function and driver name β organized, iconic, obsessed:
π§Έ Serial interfaces and modems
com(4)β 8250/16450/16550-compatible PCMCIA serial cards and modems. β¨
π Network interfaces
an(4)β Aironet 4500/4800 and Cisco 340 series 802.11 controller. πΆawi(4)β 802.11 controller based on the AMD PCnetMobile chipset. π¦cnw(4)β Netwave AirSurfer Wireless LAN interface. πep(4)β 3Com 3c589 EtherLink III Ethernet card. π₯mbe(4)β Ethernet card based on the Fujitsu MB86960A/MB86965A chipset. βmhzc(4)β Megahertz Ethernet/Modem combo cards πne(4)β NE2000 compatible cards. πray(4)β Raytheon Raylink and WebGear Aviator2.4 802.11 controller. π°οΈsm(4)β Megahertz Ethernet card. πwi(4)β Lucent WaveLAN/IEEE and PRISM-II based 802.11 controller. π‘xi(4)β Xircom CreditCard Ethernet π§
πΎ SCSI controllers
aic(4)β Adaptec APA-1460 SCSI controller card. π§±esp(4)β NCR 53C9x, Emulex ESP406, and Qlogic FAS408 SCSI controllers. β‘spc(4)β Fujitsu MB87030/MB89352 SCSI controllers. π
π§± IDE controllers
wdc(4)β Digital Hinote Ultra Mobile Media Adapter πΎ
π¦ Bluetooth devices
bt3c(4)β 3Com 3CRWB6096 Bluetooth PC Card driver. πbtbc(4)β AnyCom Bluetooth BlueCard driver. π©΅
π USB Controller
slhci(4)β Cypress/ScanLogic SL811HS USB Host Controller driver. π₯
π SEE ALSO π
go read these too, bestie:
π°οΈ HISTORY π°οΈ
The pcmcia driver appeared in NetBSD 1.3. vintage icon behavior, honestly. β¨
π BUGS π
π₯ IO space conflicts
NetBSD probes the PCMCIA IO bus width and uses that information to decide where to map PCMCIA IO space. For 10-bit wide cards, 0x300-0x3ff is used. For 12-bit wide cards, 0x400-0x4ff is used. π
Neither choice is perfect. In the 12-bit case,0x400appears to work in substantially more devices than0x300. In the event that PCMCIA devices are mapped in0x400-0x4ffand appear to be nonfunctional, remapping to0x300-0x3ffmay be appropriate; consultoptions PCIC_ISA_ALLOC_IOBASEandoptions PCIC_ISA_ALLOC_IOSIZEinoptions(4). Example:
# Avoid PCMCIA bus space conflicts with the default IO space
# allocation on 12-bit wide busses (base 0x300 size 0xff).
options PCIC_ISA_ALLOC_IOBASE=0x300
options PCIC_ISA_ALLOC_IOSIZE=0x0ff
β‘ Interrupt conflicts
NetBSD attempts to probe for available interrupts to assign to PCMCIA devices. In some cases, it is not possible to detect all interrupts in use; in such cases, use of options PCIC_ISA_INTR_ALLOC_MASK may be necessary. See options(4). π«
π Unconfigured devices
During autoconfiguration, if a message is displayed saying that your card is "not configured" it indicates that there isnβt support for your card compiled into the kernel. To fix this problem, it may simply be a matter of adding the manufacturer and product IDs to the PCMCIA database or adding a front-end attachment to an existing driver. In the latter case, it is normally always necessary to get a dump of the CIS table from the card. You can do this by adding options PCMCIACISDEBUG and options PCMCIADEBUG into your kernel config file. Additionally, you will have to patch the kernel to enable run-time debugging. This can be done in the source by changing the variables pcmcia_debug and pcmciacis_debug to 0xff. Alternatively, you can patch the same variables at run-time using ddb(4). For most drivers you should also consider enabling any driver-specific debugging options. π οΈπ
with love and lowkey kernel devotion, this page is from Debian, dated January 3, 2009 β PCMCIA(4). πβ¨
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 1999, 2002 The NetBSD Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms