Subject: Re: A TODO list for cardbus/ PCMCIA support.
To: Ted Lemon <mellon@isc.org>
From: None <itojun@iijlab.net>
List: tech-kern
Date: 06/17/1999 13:21:14
>Hm. The last time I encountered BSDI PCMCIA support, it had the
>problem that when you did a SIOCGIFCONF to see what network interfaces
>were attached to the system, it reported that one of every possible
>kind of PCMCIA ethernet interface was attached to the system. Does it
>still do this? This seems like a pretty major bug to me
Yes BSDI still does this.
Here is netstat -in on my notebook. It has only 1 pcmcia ethernet
card on it (attached as ne0), and other ethernet drivers are waiting
for the card to come. ("gif" interfaces are tunnelling device for
IPv6-over-IPv4 tunnel so they are not on stock BSDI)
We can change this behavior by calling if_attach() and ether_attach()
on actual hardware insertion, but this may need some twists.
I do not like if_detach() on card removal. This is because,
when I run routing daemons on notebook and would like to move a
card from slot 0 to slot 1 (due to physical reasons, like cable length)
the routing daemon may go crazy. Also, from IPv6 perspective
I would like to see fixed mapping between driver (ne0) and mac address
(IPv6 uses mac address as seed to generate interface address).
itojun
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
ne0 1500 <link1> 00:e0:98:00:30:a3 123251 2 46404 0 360
ne0 1500 fe80:1::2e0 fe80:1::2e0:98ff: 123251 2 46404 0 360
ne0 1500 210.160.95. 210.160.95.106 123251 2 46404 0 360
ne0 1500 3ffe:507:1: 3ffe:507:1:1:2e0: 123251 2 46404 0 360
ne0 1500 3ffe:501:41 3ffe:501:410:0:2e 123251 2 46404 0 360
ne1* 1500 <link2> 00:00:00:00:00:00 0 0 0 0 0
ef0* 1500 <link3> 00:00:00:00:00:00 0 0 0 0 0
ef1* 1500 <link4> 00:00:00:00:00:00 0 0 0 0 0
cce0* 1500 <link5> 00:00:00:00:00:00 0 0 0 0 0
cce1* 1500 <link6> 00:00:00:00:00:00 0 0 0 0 0
wl0* 1500 <link7> 00:00:00:00:00:00 0 0 0 0 0
wl1* 1500 <link8> 00:00:00:00:00:00 0 0 0 0 0
mz0* 1500 <link9> 00:00:00:00:00:00 0 0 0 0 0
mz1* 1500 <link10> 00:00:00:00:00:00 0 0 0 0 0
cnw0* 1500 <link11> 00:00:00:00:00:00 0 0 0 0 0
cnw1* 1500 <link12> 00:00:00:00:00:00 0 0 0 0 0
ux0* 1500 <link13> 00:00:00:00:00:00 0 0 0 0 0
ux1* 1500 <link14> 00:00:00:00:00:00 0 0 0 0 0
pe0* 1500 <link15> 00:00:00:00:00:00 0 0 0 0 0
lo0 1536 <link16> 238 0 238 0 0
lo0 1536 fe80:10::1/ fe80:10::1 238 0 238 0 0
lo0 1536 ::1/128 ::1 238 0 238 0 0
lo0 1536 127 127.0.0.1 238 0 238 0 0
sl0* 308 <link17> 0 0 0 0 0
ppp0* 1500 <link18> 0 0 0 0 0
ppp1* 1500 <link19> 0 0 0 0 0
pif0* 576 <link20> 0 0 0 0 0
tun0* 1500 <link21> 0 0 0 0 0
tun1* 1500 <link22> 0 0 0 0 0
gif0* 1280 <link23> 0 0 0 1 0
gif0* 1280 fe80:17::2e fe80:17::2e0:98ff 0 0 0 1 0
gif1* 1280 <link24> 0 0 0 1 0
gif1* 1280 fe80:18::2e fe80:18::2e0:98ff 0 0 0 1 0
gif2* 1280 <link25> 0 0 0 1 0
gif2* 1280 fe80:19::2e fe80:19::2e0:98ff 0 0 0 1 0
gif3* 1280 <link26> 0 0 0 1 0
gif3* 1280 fe80:1a::2e fe80:1a::2e0:98ff 0 0 0 1 0
gif4* 1280 <link27> 0 0 0 1 0
gif4* 1280 fe80:1b::2e fe80:1b::2e0:98ff 0 0 0 1 0
gif5* 1280 <link28> 0 0 0 1 0
gif5* 1280 fe80:1c::2e fe80:1c::2e0:98ff 0 0 0 1 0
gif6* 1280 <link29> 0 0 0 1 0
gif6* 1280 fe80:1d::2e fe80:1d::2e0:98ff 0 0 0 1 0
gif7* 1280 <link30> 0 0 0 1 0
gif7* 1280 fe80:1e::2e fe80:1e::2e0:98ff 0 0 0 1 0
gif8* 1280 <link31> 0 0 0 1 0
gif8* 1280 fe80:1f::2e fe80:1f::2e0:98ff 0 0 0 1 0
gif9* 1280 <link32> 0 0 0 1 0
gif9* 1280 fe80:20::2e fe80:20::2e0:98ff 0 0 0 1 0
gif10 1280 <link33> 0 0 0 1 0
gif10 1280 fe80:21::2e fe80:21::2e0:98ff 0 0 0 1 0
gif11 1280 <link34> 0 0 0 1 0
gif11 1280 fe80:22::2e fe80:22::2e0:98ff 0 0 0 1 0
gif12 1280 <link35> 0 0 0 1 0
gif12 1280 fe80:23::2e fe80:23::2e0:98ff 0 0 0 1 0
gif13 1280 <link36> 0 0 0 1 0
gif13 1280 fe80:24::2e fe80:24::2e0:98ff 0 0 0 1 0
gif14 1280 <link37> 0 0 0 1 0
gif14 1280 fe80:25::2e fe80:25::2e0:98ff 0 0 0 1 0
gif15 1280 <link38> 0 0 0 1 0
gif15 1280 fe80:26::2e fe80:26::2e0:98ff 0 0 0 1 0
faith 1500 <link39> 1 0 1 0 0
faith 1500 fe80:27::2e fe80:27::2e0:98ff 1 0 1 0 0