Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2000 11:17:13 +0900
From:      Tatsumi Hosokawa <hosokawa@FromTo.Cc>
To:        imp@village.org
Cc:        mobile@FreeBSD.ORG
Subject:   Re: pccard_ether does not work without DHCP 
Message-ID:  <86zou6sqty.wl@ringo.FromTo.Cc>
In-Reply-To: In your message of "Sat, 15 Jan 2000 16:21:45 -0700" <200001152321.QAA01313@harmony.village.org>
References:  <864scft38i.wl@ringo.FromTo.Cc> <867lhbt4rg.wl@ringo.FromTo.Cc> <200001152321.QAA01313@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I resumed from suspended mode (slept 3:30:00) :-).

At Sat, 15 Jan 2000 16:21:45 -0700,
Warner Losh <imp@village.org> wrote:
> : "at isa?" or explicit ioaddr and irq specification causes this
> : problem?
> 
> Yes.  That's the problem.

I removed fe0 from last patch.  Are there any objections to merge it
into src/sys/i386/conf/GENERIC and etc/pccard.conf.sample?

Hosokawa


Index: sys/i386/conf/GENERIC
===================================================================
RCS file: /home/ncvs/src/sys/i386/conf/GENERIC,v
retrieving revision 1.229
diff -u -r1.229 GENERIC
--- sys/i386/conf/GENERIC	2000/01/14 20:40:58	1.229
+++ sys/i386/conf/GENERIC	2000/01/16 02:12:11
@@ -143,6 +143,7 @@
 device		sio1	at isa? port IO_COM2 irq 3
 device		sio2	at isa? disable port IO_COM3 irq 5
 device		sio3	at isa? disable port IO_COM4 irq 9
+device		sio4		# PCCARD
 
 # Parallel port
 device		ppc0	at isa? port? irq 7
@@ -174,6 +175,7 @@
 
 # ISA Ethernet NICs.
 device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
+device		ed1		# PCCARD
 device		ex0
 device		ep0
 # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
Index: etc/pccard.conf.sample
===================================================================
RCS file: /home/ncvs/src/etc/pccard.conf.sample,v
retrieving revision 1.58
diff -u -r1.58 pccard.conf.sample
--- etc/pccard.conf.sample	2000/01/15 21:29:18	1.58
+++ etc/pccard.conf.sample	2000/01/16 02:12:14
@@ -8,7 +8,7 @@
 # IRQ == 0 means "allocate free IRQ from IRQ pool"
 # IRQ == 16 means "do not use IRQ (e.g. PIO mode)"
 #
-# $FreeBSD: src/etc/pccard.conf.sample,v 1.58 2000/01/15 21:29:18 hosokawa Exp $
+# $FreeBSD: src/etc/pccard.conf.sample,v 1.57 2000/01/15 05:45:38 obrien Exp $
 
 # Generally available IO ports
 io	0x240-0x360
@@ -60,7 +60,7 @@
 
 # IBM PCMCIA Ethernet I/II
 card "IBM Corp." "Ethernet"
-	config	0x1 "ed0" ?
+	config	0x1 "ed1" ?
 	ether	0xff0
 	insert	echo IBM PCMCIA Ethernet inserted
 	insert	/etc/pccard_ether $device
@@ -69,7 +69,7 @@
 
 # Melco LPC-T (PIO mode)
 card "PCMCIA" "UE2212"
-	config	0x1 "ed0" ? 0x10
+	config	0x1 "ed1" ? 0x10
 	ether	0xff0
 	insert	echo UE2212 inserted
 	insert	/etc/pccard_ether $device
@@ -79,7 +79,7 @@
 # Accton EN2212
 # Very slow!  (PIO mode)
 card "ACCTON" "EN2212"
-	config	0x1 "ed0" ? 0x10
+	config	0x1 "ed1" ? 0x10
 	ether	0xff0
 	insert	echo Accton EN2212 inserted
 	insert	/etc/pccard_ether $device
@@ -88,7 +88,7 @@
 
 #Accton 2216
 card "ACCTON" "EN2216-PCMCIA-ETHERNET"
-	config 0x20 "ed0" ?
+	config 0x20 "ed1" ?
 	insert echo Accton 2216 inserted
 	insert /etc/pccard_ether $device
 	remove echo Accton 2216 removed
@@ -96,7 +96,7 @@
 
 # COREGA EtherII PCC-T
 card "corega K.K." "corega EtherII PCC-T"
-	config  0x20 "ed0" ?
+	config  0x20 "ed1" ?
 	insert  echo EtherII PCC-T inserted
 	insert  /etc/pccard_ether $device
 	remove  echo EtherII PCC-T removed
@@ -104,7 +104,7 @@
 
 # I-O DATA PCLATE
 card "IO DATA" "PCLATE"
-	config  0x20 "ed0" ? 0x10
+	config  0x20 "ed1" ? 0x10
 	insert  echo IO DATA PCLATE inserted
 	insert  /etc/pccard_ether $device
 	remove  echo IO DATA PCLATE removed
@@ -145,7 +145,7 @@
 
 # LinkSys ethernet card
 card "E-CARD" "E-CARD" 
-	config  0x20 "ed0" ? 
+	config  0x20 "ed1" ? 
 	insert  echo "LinkSys card inserted" 
 	insert  /etc/pccard_ether $device 
 	remove  echo "LinkSys card removed" 
@@ -153,7 +153,7 @@
 
 # Linksys Combo PCMCIA EthernetCard (model EC2T on box) 
 card "Linksys" "Combo PCMCIA EthernetCard (EC2T)"
-	config 0x1 "ed0" ? 
+	config 0x1 "ed1" ? 
 	insert echo Linksys Ethernet inserted 
 	insert /etc/pccard_ether $device 
 	remove echo Linksys Ethernet removed 
@@ -161,7 +161,7 @@
 
 #Linksys EtherFast 10/100 PC Card (PCMPC100)
 card "Linksys" "EtherFast 10/100 PC Card (PCMPC100)"
-	config	0x3 "ed0" ?
+	config	0x3 "ed1" ?
 	insert	echo Linksys Fast 100-BaseT inserted
 	insert	/etc/pccard_ether $device
 	remove	echo Linksys Fast 100-BaseT removed
@@ -202,7 +202,7 @@
 
 # Danpex (Alloy, etc.) EN-6200P2
 card "DANPEX" "EN-6200P2"
-	config 0x22 "ed0" ?
+	config 0x22 "ed1" ?
 	insert /etc/pccard_ether $device
 	remove /sbin/ifconfig $device delete
 
@@ -214,7 +214,7 @@
 
 # Compex Net-A adapter
 card "Ethernet" "Adapter"
-	config 0x1 "ed0" ?
+	config 0x1 "ed1" ?
 	ether 0xff0
 	insert	/etc/pccard_ether $device
 	remove	/sbin/ifconfig $device delete
@@ -228,7 +228,7 @@
 #	If you see strange MAC address shown by ifconfig command,
 #	try other config.
 card "Ethernet" "Adapter"
-	config	0x2 "ed0" ?
+	config	0x2 "ed1" ?
 #	ether	0x110 00:e0:98
 #	ether	0xff0 00:e0:98
 	insert	/etc/pccard_ether $device
@@ -236,13 +236,13 @@
 
 # D-Link DE-660 NE2000 clone
 card "D-Link" "DE-660"
-	config 0x20 "ed0" ? 0x10
+	config 0x20 "ed1" ? 0x10
 	insert /etc/pccard_ether $device link0 -link1
 	remove /sbin/ifconfig $device delete
 
 # NDC Ethernet Instant-Link NE2000 clone
 card "NDC" "Ethernet"
-	config 0x22 "ed0" ? 0x10
+	config 0x22 "ed1" ? 0x10
 	insert	echo NDC Ethernet Instant-Link adapter inserted
 	insert	/etc/pccard_ether $device
 	remove	echo NDC Ethernet Instant-Link adapter removed
@@ -250,14 +250,14 @@
 
 # CyQ've ELA-010
 card "CyQ've" "ELA-010"
-	config	0x20 "ed0" ?
+	config	0x20 "ed1" ?
 	insert	/etc/pccard_ether $device
 	remove	/sbin/ifconfig $device delete
 
 # Allied Telesis CentreCOM LA-PCM_V2 ethernet card
 # NTT-DATA ASTROWINK-M/MMOIL(IrLAN) ethernet card
 card "Allied Telesis, K.K." "CentreCOM LA-PCM_V2"
-	config 0x20 "ed0" ?
+	config 0x20 "ed1" ?
 	insert echo CentreCOM LA-PCM V2 Ethernet card inserted
 	insert /etc/pccard_ether $device
 	remove echo CentreCOM LA-PCM V2 Ethernet card removed
@@ -273,7 +273,7 @@
 
 # BayNetworks NETGEAR FA410TXC Fast Ethernet
 card "NETGEAR" "FA410TX"
-	config  0x20 "ed0" ?
+	config  0x20 "ed1" ?
 	insert  echo NETGEAR FA410TX Ethernet inserted
 	insert  /etc/pccard_ether $device
 	remove  echo NETGEAR FA410TX Ethernet removed
@@ -281,7 +281,7 @@
 
 # Network Everywhere Ethernet 10BaseT PC Card
 card "Network Everywhere" "Ethernet 10BaseT PC Card"
-	config  0x1 "ed0" ?
+	config  0x1 "ed1" ?
 	insert  echo Network Everywhere Ethernet 10BaseT PC Card inserted
 	insert  /etc/pccard_ether $device
 	remove  echo Network Everywhere Ethernet 10BaseT PC Card removed
@@ -290,56 +290,56 @@
 
 # AIWA PV-JF288
 card "AIWA CO.,LTD." "PV-JF288  "
-	config  0x23 "sio2" ?
+	config  0x23 "sio4" ?
 	insert  echo AIWA PV-JF288 inserted
 	remove  echo AIWA PV-JF288 removed
 
 # Apex Data 28.8 PC Card "MOBILE PLUS Cellular" modem. 
 card "AD PC_CARD" "RC288ACL" 
-	config  0x22 "sio2" ? 
+	config  0x22 "sio4" ? 
 	insert  echo Apex Data Mobile Plus 28.8 Modem inserted 
 	remove  echo Apex Data Mobile Plus 28.8 Modem removed 
 
 # Megahertz XJ1144
 card "MEGAHERTZ" "XJ1144"
-	config	0x23 "sio2" ?
+	config	0x23 "sio4" ?
 	insert	echo Megahertz XJ1144 inserted
 	remove	echo Megahertz XJ1144 removed
 
 # Megahertz XJ2144 (US)
 card "MEGAHERTZ" "XJ2144"
-	config	0x23 "sio2" ?
+	config	0x23 "sio4" ?
 	insert	echo Megahertz XJ2144 inserted
 	remove	echo Megahertz XJ2144 removed
 
 # Megahertz XJ2144 (JP)
 card "MEGAHERTZ" "XJ2144-81"
-	config	0x23 "sio2" ?
+	config	0x23 "sio4" ?
 	insert	echo Megahertz XJ2144 inserted
 	remove	echo Megahertz XJ2144 removed
 
 # Megahertz XJ2288
 card "MEGAHERTZ" "XJ2288"
-	config	0x23 "sio2" ?
+	config	0x23 "sio4" ?
 	insert	echo Megahertz XJ2288 inserted
 	remove	echo Megahertz XJ2288 removed
 
 # Megahertz XJ4336
 card "Megahertz" "XJ4336-CC4336"
-	config 0x21 "sio1" ?
+	config 0x21 "sio4" ?
 	insert echo Megahertz XJ4336 inserted
 	remove echo Megahertz XJ4336 removed
 
 # Megahertz XJ1336
 card "U.S. Robotics" "XJ/CC1336"
-	config 0x21 "sio2" ?
+	config 0x21 "sio4" ?
 	insert echo U.S. Robotics XJ/CC1336 inserted
 	remove echo U.S. Robotics XJ/CC1336 removed
 
 # Nokia Cellular Data Card
 card "Nokia Mobile Phones" "DTP-2"
-	config  0x22 "sio2" ?
-	config  0x23 "sio3" ?
+	config  0x22 "sio4" ?
+	config  0x23 "sio4" ?
 	insert  echo Nokia Mobile Phones DTP-2 inserted
 	remove  echo Nokia Mobile Phones DTP-2 removed
 
@@ -347,50 +347,50 @@
 # With 2 Mobile Phones and Multilink PPP you can get a 19200 data channel.
 # Nokia Cellular Data Card
 card "Nokia Mobile Phones" "DTP-2 ver II"
-	config  0x23 "sio2" ?
-	config  0x24 "sio3" ?
+	config  0x23 "sio4" ?
+	config  0x24 "sio4" ?
 	insert  echo Nokia Mobile Phones DTP-2 ver II inserted
 	remove  echo Nokia Mobile Phones DTP-2 ver II removed
 
 # Omron ME2814 FAX/DATA MODEM
 card "OMRON" "ME2814 FAX/DATA MOD"
-	config  0x23 "sio2" ?
+	config  0x23 "sio4" ?
 	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" ?
+	config	0x23 "sio4" ?
 	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" ?
+	config  0x23 "sio4" ?
 	insert  echo TDK DF1414 inserted
 	remove  echo TDK DF1414 removed
 
 # Panasonic Modem Card TO-706C
 card "Panasonic" "TO-706C"
-	config	0x23 "sio2" ?
+	config	0x23 "sio4" ?
 	insert	echo Panasonic TO-706C inserted
 	remove	echo Panasonic TO-706C removed
 
 # Panasonic Modem Card TO-706C
 card "Panasonic" "TO-CAF288"
-	config	0x23 "sio2" ?
+	config	0x23 "sio4" ?
 	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" ?
+	config	0x23 "sio4" ?
 	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" ?
+#	config	0x23 "sio4" ?
 #	reset	10000
 #	insert	echo OMRON MD24XCA Modem inserted
 #	remove	echo OMRON MD24XCA Modem removed
@@ -398,58 +398,58 @@
 # Hayes OPTIMA 288 FAX/Data Modem
 # currently does not work on my machine
 card "Hayes" "OPTIMA 288 + FAX fo"
-	config	0x24 "sio2" ?
+	config	0x24 "sio4" ?
 	reset	10000
 	insert	echo Optima 288 inserted
 	remove	echo Optima 288 removed
 
 # This one does work though
 card "HAYES" "OPT288"
-        config  0x23 "sio3" ?
+        config  0x23 "sio4" ?
         insert  echo Hayes Optima 28.8k inserted
         remove  echo Hayes Optima 28.8k removed
 
 # PREMAX FM288 FAX/Data Modem
 card "PREMAX" "FM288 "
-	config  0x23 "sio2" ?
+	config  0x23 "sio4" ?
 	insert  echo PREMAX FM288 Modem inserted
 	remove  echo PREMAX FM288 Modem removed
 
 # Novalink NovaModem 144
 card "NovaLink Tech." "NovaModem 144   "
-	config  0x23 "sio2" ?
+	config  0x23 "sio4" ?
 	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" ?
+	config  0x3 "sio4" ?
 	insert  echo USRobotics PCMCIA Modem inserted
 	remove  echo USRobotics PCMCIA Modem removed
 
 # Xircom CreditCard Modem
 card "Xircom" "CreditCard Modem CM-56T"
-	config 0x17 "sio1" ?
+	config 0x17 "sio4" ?
 	reset   100
 	insert  echo Xircom CreditCard Modem CM-56T inserted
 	remove  echo Xircom CreditCard Modem CM-56T removed
 
 # Xircom CreditCard Ethernet+Modem (Modem only !!!)
 card "Xircom" "CreditCard Ethernet"
-	config  0x23 "sio2" ?
+	config  0x23 "sio4" ?
 	insert  echo Xircom CreditCard Modem inserted
 	remove  echo Xircom CreditCard Modem removed
 
 # Xircom CreditCard Ethernet 10/100 + modem (modem only)
 card "Xircom" "CreditCard Ethernet 10/100 + "
-	config  0x1f "sio3" ?
+	config  0x1f "sio4" ?
 	insert  echo Xircom CreditCard Modem inserted
 	remove  echo Xircom CreditCard Modem removed
 
 # Xircom CreditCard Ethernet 10/100 + modem (Ethernet part)
 card "Xircom" "CreditCard Ethernet 10/100 + Modem 56"
-	config  0x17 "sio3" ?
+	config  0x17 "sio4" ?
 	insert  echo Xircom CreditCard Modem inserted
 	insert /etc/pccard_ether xe0
 	remove  echo Xircom CreditCard Modem removed
@@ -465,7 +465,7 @@
 
 # Xircom GlobalACCESS modem
 card "Xircom" "CreditCard Modem 56 - GlobalA"
- 	config 0x1f "sio2" ?
+ 	config 0x1f "sio4" ?
  	insert  echo Xircom CreditCard Modem 56 - GlobalACCESS inserted
  	remove  echo Xircom CreditCard Modem 56 - GlobalACCESS removed
 
@@ -479,13 +479,13 @@
 
 # GATEWAY 2000 FAX/Data Modem (14.4K)
 card "GATEWAY2000" "CC3144"
-	config  0x22 "sio3" ?
+	config  0x22 "sio4" ?
 	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" ?
+	config	0x22 "sio4" ?
 	insert	echo IBM Push/Pop Modem inserted
 	remove	echo IBM Push/Pop Modem removed
 
@@ -493,61 +493,61 @@
 # Apparently this modem does not work unless the recommended
 # init string (AT&F&C1&D2) is supplied.
 card "PCMCIA  " "33.6K Fax/Modem  "
-	config 23 "sio2" ?
+	config 23 "sio4" ?
 	insert echo Eiger 33.6K modem inserted
 	remove echo Eiger 33.6K modem removed
 
 # NTT ThunderCard Modem
 card "NTT-IT CO., LTD" "ThunderCard AVF288, V.34"
-	config	0x22 "sio2" ?
+	config	0x22 "sio4" ?
 	insert echo NTT ThunderCard inserted
 	remove echo NTT ThunderCard removed
 
 # U.S. Robotics XJ1560J
 card "U.S. Robotics" "XJ/CC1560J"
-	config	0x22 "sio2" ?
+	config	0x22 "sio4" ?
 	insert	echo U.S. Robotics XJ1560J inserted
 	remove	echo U.S. Robotics XJ1560J removed
 
 # 3com/USR/Megahertz 3CCM556
 card "3Com" "3CXM/3CCM556"
-	config 0x23 "sio2" ?
+	config 0x23 "sio4" ?
 	insert echo 3Com PCMCIA 56K Modem inserted
 	remove echo 3Com PCMCIA 56K Modem removed
 
 # 3Com/NoteWorthy 56K modem (bundled with Toshiba notebooks)
 card "Toshiba America" "3CXM056-BNW"
-      config  0x20 "sio1" ?
+      config  0x20 "sio4" ?
       insert  echo NoteWorthy 56K PCMCIA Modem inserted
       remove  echo NoteWorthy 56K PCMCIA Modem removed
 
 # BUG Linkboy D64K (ISDN)
 card "BUG Inc." "Linkboy D64K"
-	config  0x23 "sio2" ?
+	config  0x23 "sio4" ?
 	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" ? 0x82
+	config  0x22 "sio4" ? 0x82
 	insert  echo NTT DoCoMo DATA/FAX Adapter inserted
 	remove  echo NTT DoCoMo DATA/FAX Adapter removed
 
 # Random modem bundled with Dell systems
 card "Psion Dacom" "Gold Card Global 56K+Fax"
-	config	0x23 "sio2" ?
+	config	0x23 "sio4" ?
 	insert	echo "Psion Dacom modem card inserted"
 	remove	echo "Psion Dacom modem card removed"
 
 # Actiontec Datalink with v.90 upgrade
 card "PCMCIA  " "56K V.90 Fax Modem (LK)  "
-	config	0x1f "sio2" ?
+	config	0x1f "sio4" ?
 	insert	echo "Actiontec Datalink modem card inserted"
 	remove	echo "Actiontec Datalink modem card removed"
 
 # Panasonic FM-RADIO card
 #card "Panasonic" "CF-JVR101"
-#	config  0x22 "sio3" ?
+#	config  0x22 "sio4" ?
 #	insert  echo Panasonic FM radio card inserted
 #	remove  echo Panasonic FM radio card removed
 
@@ -599,14 +599,14 @@
 
 # Viking V.90/K56Flex modem
 card "Viking" "V.90 K56flex"
-        config 0x23 "sio3" ?
+        config 0x23 "sio4" ?
         insert echo Viking 56K Modem inserted
         remove echo Viking 56K Modem removed
 
 # Zoom 56K modem 
 # Freezes your system entirely if you don't have the reset..
 card "Zoom Telephonics, Inc." "PCMCIA 56K LT DataFax"
-        config 0x1f "sio2" ?
+        config 0x1f "sio4" ?
 	reset 1000
         insert echo Zoom modem inserted
         remove echo Zoom modem removed
@@ -621,13 +621,13 @@
 
 # 3Com/USR/MegaHertz 3CCM156
 card "3COM" "3CCM156"
-	config 0x23 "sio2" ?
+	config 0x23 "sio4" ?
 	insert echo 3Com PCMCIA 56K modem inserted
 	remove echo 3Com PCMCIA 56K modem removed
 
 #AR-P500 ethernet card
 card "IC-CARD" "IC-CARD"
-	config 0x20 "ed0" ?
+	config 0x20 "ed1" ?
 	insert echo AR-P500 Ethernet card inserted
 	insert /etc/pccard_ether $device
 	remove echo AR-P500 Ethernet card removed
@@ -635,17 +635,17 @@
 
 #Eiger 33.6 modem
 card "AT&T" "V34+ Fax Modem"
-	config 0x23 "sio1" ?
+	config 0x23 "sio4" ?
 	insert echo Eiger 33.6K modem inserted
 	remove echo Eiger 33.6K modem removed
 
 # Motorola Montana 
 card "Motorola" "MONTANA 33.6 FAX/MODEM"
-	config 0x21 "sio1" ?
+	config 0x21 "sio4" ?
 
 # AmbiCom 10BaseT card
 card "AmbiCom Inc" "AMB8002T"
-	config 0x20 "ed0" ?
+	config 0x20 "ed1" ?
 	insert echo AmbiCom 8002T inserted
 	insert /etc/pccard_ether $device
 	remove echo AmbiCom 8002T removed


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86zou6sqty.wl>