From 38eb2b368673f5ff345496b145b73de48dc230f5 Mon Sep 17 00:00:00 2001 From: nate Date: Tue, 12 Mar 1996 15:39:26 +0000 Subject: PC-CARD hooks. Someday it will actually enable working code. :) Reviewed by: phk Submitted by: Tatsumi Hosokawa & BSD Nomads I re-wrote alot of this, but the ideas are based on the code from the most recent pccard-snapshot. --- etc/defaults/pccard.conf | 260 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 260 insertions(+) create mode 100644 etc/defaults/pccard.conf (limited to 'etc/defaults') diff --git a/etc/defaults/pccard.conf b/etc/defaults/pccard.conf new file mode 100644 index 0000000..e975805 --- /dev/null +++ b/etc/defaults/pccard.conf @@ -0,0 +1,260 @@ +# Sample PCCARD configuration file +# +# Removing all IRQ conflicts from this file can't be done because of some +# IRQ-selfish PC-cards. So if you want to use some of these cards in +# your machine, you will be forced to modify their IRQ parameters from +# the following list. +# +# IRQ == 0 means "allocate free IRQ from IRQ pool" +# IRQ == 16 means "do not use IRQ (e.g. PIO mode)" +# +# $Id$ + +# Generally available IO ports +io 0x240-0x360 +# Generally available IRQs (Built-in sound-card owners remove 5) +irq 3 5 10 11 13 15 +# Available memory slots +memory 0xd4000 96k + +#IBM PCMCIA Ethernet I/II +card "IBM Corp." "Ethernet" + config 0x1 "ed0" 11 + ether 0xff0 + insert echo IBM PCMCIA Ethernet inserted + insert /etc/pccard_ether ed0 + remove echo IBM PCMCIA Ethernet removed + remove /sbin/ifconfig ed0 delete + +# MACNICA UE2212 +# Very slow! (PIO mode) +card "PCMCIA" "UE2212" + config 0x1 "ed0" 11 0x10 + ether 0xff0 + insert echo MACNICA UE2212 inserted + insert /etc/pccard_ether ed0 + remove echo MACNICA UE2212 card removed + remove /sbin/ifconfig ed0 delete + +# Accton EN2212 +# Very slow! (PIO mode) +card "ACCTON" "EN2212" + config 0x1 "ed0" 11 0x10 + ether 0xff0 + insert echo Accton EN2212 inserted + insert /etc/pccard_ether ed0 + remove echo Accton EN2212 removed + remove /sbin/ifconfig ed0 delete + +# 3Com Etherlink III 3C589B, 3C589C +card "3Com Corporation" "3C589" + config 0x1 "nep0" 11 + insert echo 3Com Etherlink III inserted + insert /etc/pccard_ether nep0 +# insert /etc/pccard_ether nep0 link0 + remove echo 3Com Etherlink III removed + remove /sbin/ifconfig nep0 delete + +# Farallon EtherMac +card "Farallon" "ENet" + config 0x1 "nep0" 11 + insert echo Farallon EtherMac inserted + insert /etc/pccard_ether nep0 +# insert /etc/pccard_ether nep0 link0 + remove echo Farallon EtherMac removed + remove /sbin/ifconfig nep0 delete + +# Fujitsu MBH10302 +card "PCMCIA MBH10302" "01" + config 0x14 "fe0" 10 + insert echo Fujitsu MBH10302 inserted + insert /etc/pccard_ether fe0 + remove echo Fujitsu MBH10302 removed + remove /sbin/ifconfig fe0 delete + +# NextCom J Link NC5310 +card "NextComK.K." "NC5310 Ver1.0 " + config 0x14 "fe0" 10 + insert echo NextCom J Link NC5310 inserted + insert /etc/pccard_ether fe0 + remove echo NextCom J Link NC5310 removed + remove /sbin/ifconfig fe0 delete + +# AIWA PV-JF288 +card "AIWA CO.,LTD." "PV-JF288 " + config 0x23 "sio2" 10 + insert echo AIWA PV-JF288 inserted + remove echo AIWA PV-JF288 removed + +# Megahertz XJ1144 +card "MEGAHERTZ" "XJ1144" + config 0x23 "sio2" 10 + insert echo Megahertz XJ1144 inserted + remove echo Megahertz XJ1144 removed + +# Megahertz XJ2144 (US) +card "MEGAHERTZ" "XJ2144" + config 0x23 "sio2" 10 + insert echo Megahertz XJ2144 inserted + remove echo Megahertz XJ2144 removed + +# Megahertz XJ2144 (JP) +card "MEGAHERTZ" "XJ2144-81" + config 0x23 "sio2" 10 + insert echo Megahertz XJ2144 inserted + remove echo Megahertz XJ2144 removed + +# Megahertz XJ2288 +card "MEGAHERTZ" "XJ2288" + config 0x23 "sio2" 10 + insert echo Megahertz XJ2288 inserted + remove echo Megahertz XJ2288 removed + +# Omron ME2814 FAX/DATA MODEM +card "OMRON" "ME2814 FAX/DATA MOD" + config 0x23 "sio2" 3 + insert echo OMRON ME2814 Modem inserted + remove echo OMRON ME2814 Modem removed + +# TDK 14.4 FAX/Data Modem +card "TDK" "DF1414 DATA/FAX MOD" + config 0x23 "sio2" 10 + insert echo TDK DF1414 inserted + remove echo TDK DF1414 removed + +# TDK 14.4 FAX/Data Modem +card "TDK" "DF1414EX DATA/FAX M" + config 0x23 "sio2" 10 + insert echo TDK DF1414 inserted + remove echo TDK DF1414 removed + +# Panasonic Modem Card TO-706C +card "Panasonic" "TO-706C" + config 0x23 "sio2" 10 + insert echo Panasonic TO-706C inserted + remove echo Panasonic TO-706C removed + +# Panasonic Modem Card TO-706C +card "Panasonic" "TO-CAF288" + config 0x23 "sio2" 10 + insert echo Panasonic TO-CAF288 inserted + remove echo Panasonic TO-CAF288 removed + +# NewMedia 14.4K FAX/Data Modem +card "CIRRUS LOGIC" "FAX MODEM" + config 0x23 "sio2" 10 + insert echo Newmedia 14.4 Modem inserted + remove echo Newmedia 14.4 Modem removed + +# Omron MD24XCA FAX/Data Modem +card "OMRON Corp." "MD24XCA" + config 0x23 "sio2" 16 + reset 10000 + insert echo OMRON MD24XCA Modem inserted + remove echo OMRON MD24XCA Modem removed + +# Hayes OPTIMA 288 FAX/Data Modem +# currently does not work on my machine +card "Hayes" "OPTIMA 288 + FAX fo" + config 0x24 "sio2" 5 + reset 10000 + insert echo Optima 288 inserted + remove echo Optima 288 removed + +# PREMAX FM288 FAX/Data Modem +card "PREMAX" "FM288 " + config 0x23 "sio2" 10 + insert echo PREMAX FM288 Modem inserted + remove echo PREMAX FM288 Modem removed + +# Novalink NovaModem 144 +card "NovaLink Tech." "NovaModem 144 " + config 0x23 "sio2" 10 + insert echo NovaModem 144 Modem inserted + remove echo NovaModem 144 Modem removed + +# US Robotics Sportster PCMCIA V.34 +# US Robotics COURIER PCMCIA V.34 +card "USRobotics" "PCMCIA 28800 Data/F" + config 0x3 "sio2" 3 + insert echo USRobotics PCMCIA Modem inserted + remove echo USRobotics PCMCIA Modem removed + +# Xircom CreditCard Ethernet+Modem (Modem only !!!) +card "Xircom" "CreditCard Ethernet" + config 0x23 "sio2" 3 + insert echo Xircom CreditCard Modem inserted + remove echo Xircom CreditCard Modem removed + +# GATEWAY 2000 FAX/Data Modem (14.4K) +card "GATEWAY2000" "CC3144" + config 0x22 "sio3" 7 + insert echo GATEWAY2000 FAX/Data Modem inserted + remove echo GATEWAY2000 FAX/Data Modem removed + +# IBM Push/Pop Modem (14.4K) +card "IBM" "Push/Pop Modem(14.4" + config 0x22 "sio2" 5 + insert echo IBM Push/Pop Modem inserted + remove echo IBM Push/Pop Modem removed + + +# BUG Linkboy D64K (ISDN) +card "BUG Inc." "Linkboy D64K" + config 0x23 "sio2" 3 + insert echo BUG Linkboy D64K inserted + remove echo BUG Linkboy D64K removed + +# NTT DoCoMo DATA/FAX Adapter +card "NTT DoCoMo" "PCMCIA DATA/FAX ADA" + config 0x22 "sio3" 10 0x82 + insert echo NTT DoCoMo DATA/FAX Adapter inserted + remove echo NTT DoCoMo DATA/FAX Adapter removed + +# Panasonic FM-RADIO card +card "Panasonic" "CF-JVR101" + config 0x22 "sio3" 16 + insert echo Panasonic FM radio card inserted + remove echo Panasonic FM radio card removed + +# SunDisk Flash ATA +# (OEM: Epson Flash Packer) +card "SunDisk" "SDP5" + config 0x3 "wdc1" 7 + insert echo Sundisk Flash ATA inserted + remove echo Sundisk Flash ATA removed + +card "SunDisk" "SDP" + config 0x3 "wdc1" 7 + insert echo SunDisk Flash ATA Inserted + remove echo SunDisk Flash ATA Removed + +# Midori Elec Fast Flash +card "Midori Elec." "FAST FLASH" + config 0x3 "wdc1" 9 + insert echo Midori Elec Fast FLASH inserted + remove echo Midori Elec Fast FLASH removed + +# Maxtor 131MB Type III HDD +card "Maxtor" "MXL131" + config 0x03 "wdc1" 10 + insert echo Maxtor 131MB HDD inserted + remove echo Maxtor 131MB HDD removed + +# Adaptec SlimSCSI +card "Adaptec, Inc." "APA-1460 SCSI Host " + config 0x9 "aic0" 10 + insert echo Adaptec Slim SCSI inserted + remove echo Adaptec Slim SCSI removed + +# NewMedia Bustoaster SCSI +card "New Media" "SCSI" + config 0x22 "aic0" 10 + insert echo New Media Bus Toaster inserted + remove echo New Media Bus Toaster removed + +# REX5535AC, REX5535X SCSI +card "PCMCIA SCSI MBH1040" "01" + config 0x3a "spc0" 11 + insert echo REX-5535 SCSI card inserted + remove echo REX-5535 SCSI card removed -- cgit v1.1