[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-ppc
Subject:    Re: cisco aironet pcmcia
From:       Okan Demirmen <okan () demirmen ! com>
Date:       2004-04-10 22:43:06
Message-ID: 20040410224306.GA61881 () yinaska ! pair ! com
[Download RAW message or body]

On Sat 2004.04.10 at 14:43 -0500, Jared Yanovich wrote:
> The an driver seems to work over pcmcia to my Cisco Aironet 350.  Here's
> my kernel and dmesg.

Meaning to try myself - thanks. I've got success with adding an(4), as
well as ep(4):

Index: GENERIC
===================================================================
RCS file: /home/open/cvs/src/sys/arch/macppc/conf/GENERIC,v
retrieving revision 1.50
diff -u -r1.50 GENERIC
--- GENERIC     11 Jan 2004 16:33:01 -0000      1.50
+++ GENERIC     10 Apr 2004 19:52:56 -0000
@@ -196,6 +196,8 @@
 pcmcia*                at cardslot?
 cbb*           at pci? dev ? function ?
 cardslot*      at cbb?
+ep*            at pcmcia? function ?           # PCMCIA based 3C5xx ethernet
+an*            at pcmcia? function ?           # Cisco/Aironet
 wi*            at pcmcia? function ?           # WaveLAN IEEE 802.11DS
 dc*            at cardbus? dev ? function ?    # 21143, "tulip" clone ethernet
 #fxp*          at cardbus? dev ? function ?    # Intel PRO/100 ethernet


[ using 348700 bytes of bsd ELF symbol table ]
console out [ATY,Jasper_A]console in [keyboard] ADB found
using parent ATY,JasperParent:: memaddr b8000000 size 8000000, : consaddr bc008000, : \
ioaddr b0020000, size 20000: memtag 8000, iotag 8000: width 1280 linebytes 1280 \
height 854 depth 8 Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2004 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 3.5-current (GENERIC) #0: Sat Apr 10 16:23:28 EDT 2004
    okan@pb.khaoz.org:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 536870912 (524288K)
avail mem = 484466688 (473112K)
using 1254 buffers containing 26841088 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: Version 8002 (Revision 101): 1249 MHz
memc0 at mainbus0: uni-n
mpcpcibr0 at mainbus0: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 "Apple UniNorth AGP" rev 0x00
vgafb0 at pci0 dev 16 function 0 vendor "ATI", unknown product 0x4e50 rev 0x00, mmio
wsdisplay0 at vgafb0: console (std, vt100 emulation)
mpcpcibr1 at mainbus0: uni-north, Revision 0x5
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 "Apple UniNorth PCI" rev 0x00
vendor "Broadcom", unknown product 0x4320 (class network subclass miscellaneous, rev \
0x02) at pci1 dev 18 function 0 not configured cbb0 at pci1 dev 19 function 0 "Texas \
Instruments PCI1510 CardBus" rev 0x00: irq 53 macobio0 at pci1 dev 23 function 0 \
"Apple Intrepid" rev 0x00 openpic0 at macobio0: version 0x4614
gpio_obio0 at macobio0
gpio_obio1 at gpio_obio0 offset 0x9 irq 47
programmer-switch at gpio_obio0 offset 0x11 not configured
gpio4 at gpio_obio0 offset 0x1e not configured
frequency-gpio at gpio_obio0 offset 0x1a not configured
voltage-gpio at gpio_obio0 offset 0x1b not configured
slewing-done at gpio_obio0 offset 0x12 not configured
gpio5 at gpio_obio0 offset 0x6f not configured
gpio6 at gpio_obio0 offset 0x70 not configured
extint-gpio4 at gpio_obio0 offset 0x5c not configured
gpio11 at gpio_obio0 offset 0x75 not configured
extint-gpio15 at gpio_obio0 offset 0x67 not configured
zsc0 at macobio0: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
snapper0 at macobio0: irq 30,1,2
adb0 at macobio0 irq 25: via-pmu 3 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: PowerBook G4 keyboard (Inverted T)
wskbd0 at akbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
ams0 at adb0 addr 3: EMP trackpad <tpad> 4-button, 400 dpi
wsmouse0 at ams0 mux 0
abtn0 at adb0 addr 7: brightness/volume/eject buttons
apm0 at adb0: battery flags 0x5, 99% charged
ki2c0 at macobio0
wdc0 at macobio0 irq 24: DMA
atapiscsi0 at wdc0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <MATSHITA, DVD-R UJ-816, DXJ3> SCSI0 5/cdrom removable
cd0(wdc0:0:0): using BIOS timings, DMA mode 2
audio0 at snapper0
ohci0 at pci1 dev 24 function 0 "Apple Intrepid USB" rev 0x00: irq 0, version 1.0, \
legacy support usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0 "Apple Intrepid USB" rev 0x00: irq 0, version 1.0, \
legacy support usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ohci2 at pci1 dev 26 function 0 "Apple Intrepid USB" rev 0x00: irq 29, version 1.0, \
legacy support usb2 at ohci2: USB revision 1.0
uhub2 at usb2
uhub2: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ugen0 at uhub2 port 1
ugen0: Apple Computer product 0x8203, rev 1.10/5.26, addr 2
ohci3 at pci1 dev 27 function 0 "NEC USB" rev 0x43: irq 63, version 1.0
usb3 at ohci3: USB revision 1.0
uhub3 at usb3
uhub3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 3 ports with 3 removable, self powered
uhidev0 at uhub3 port 1 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Mouse, rev 1.00/1.20, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
ohci4 at pci1 dev 27 function 1 "NEC USB" rev 0x43: irq 63, version 1.0
usb4 at ohci4: USB revision 1.0
uhub4 at usb4
uhub4: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
"NEC USB 2.0" rev 0x04 at pci1 dev 27 function 2 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
mpcpcibr2 at mainbus0: uni-north, Revision 0xff
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 "Apple UniNorth PCI" rev 0x00
kauaiata0 at pci2 dev 13 function 0 "Apple Intrepid ATA" rev 0x00
wdc1 at kauaiata0 irq 39: DMA
wd0 at wdc1 channel 0 drive 0: <Hitachi IC25N080ATMR04-0>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
"Apple UniNorth Firewire" rev 0x81 at pci2 dev 14 function 0 not configured
gem0 at pci2 dev 15 function 0 "Apple GMAC Ethernet" rev 0x80
gem0: address 00:0a:95:ac:df:48
ukphy0 at gem0 phy 0: Generic IEEE 802.3u media interface
ukphy0: OUI 0x005043, model 0x000c, rev. 1
gem0: using irq 41 for interrupt
bootpath: '/pci@f4000000/ata-6@d/disk@0/bsd'
boot device: wd0.
root on wd0a
rootdev=0x0 rrootdev=0xb00 rawdev=0xb02
ep0 at pcmcia0 function 0 "3Com, Megahertz 574B, B" port 0x0/32: address \
00:50:da:e9:f9:2d ukphy1 at ep0 phy 0: Generic IEEE 802.3u media interface
ukphy1: OUI 0x00c039, model 0x0014, rev. 10
ukphy1 detached
ep0 detached
an0 at pcmcia0 function 0 "Cisco Systems, 340 Series Wireless LAN Adapter": address \
                00:40:96:35:70:2c
an0: command busy
an0: command busy
an0: command busy
an0: command busy
an0: command busy
an0: command busy
an0 detached

> Index: GENERIC
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/conf/GENERIC,v
> retrieving revision 1.50
> diff -u -r1.50 GENERIC
> --- GENERIC	2004/01/11 16:33:01	1.50
> +++ GENERIC	2004/04/10 18:42:02
> @@ -196,6 +196,7 @@
> pcmcia*		at cardslot?
> cbb*		at pci? dev ? function ?
> cardslot*	at cbb?
> +an*		at pcmcia? function ?		# Cisco/Aironet
> wi*		at pcmcia? function ?		# WaveLAN IEEE 802.11DS
> dc*		at cardbus? dev ? function ?	# 21143, "tulip" clone ethernet
> #fxp*		at cardbus? dev ? function ?	# Intel PRO/100 ethernet
> 
> [ using 347132 bytes of bsd ELF symbol table ]
> console out [ATY,RageM3p12A]console in [keyboard] ADB found
> using parent ATY,RageM3p12Parent:: memaddr b4000000 size 4000000, : consaddr \
> b6008000, : ioaddr b0020000, size 20000: memtag 8000, iotag 8000: width 1152 \
> linebytes 1280 height 768 depth 8 Copyright (c) 1982, 1986, 1989, 1991, 1993
> 	The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2004 OpenBSD. All rights reserved.  http://www.OpenBSD.org
> 
> OpenBSD 3.5-current (GENERIC) #0: Fri Apr  9 22:50:38 EST 2004
> root@wakeme.dragon.fear:/sys/arch/macppc/compile/GENERIC
> real mem = 402653184 (393216K)
> avail mem = 359436288 (351012K)
> using 1254 buffers containing 20131840 bytes of memory
> mainbus0 (root)
> cpu0 at mainbus0: 7410 (Revision 1103): 400 MHz: 1MB backside cache
> memc0 at mainbus0: uni-n
> mpcpcibr0 at mainbus0: uni-north, Revision 0xff
> pci0 at mpcpcibr0 bus 0
> pchb0 at pci0 dev 11 function 0 "Apple Uni-N AGP" rev 0x00
> vgafb0 at pci0 dev 16 function 0 "ATI Mobility M3" rev 0x02, mmio
> wsdisplay0 at vgafb0: console (std, vt100 emulation)
> mpcpcibr1 at mainbus0: uni-north, Revision 0x0
> pci1 at mpcpcibr1 bus 0
> pchb1 at pci1 dev 11 function 0 "Apple Uni-N" rev 0x00
> macobio0 at pci1 dev 23 function 0 "Apple Keylargo" rev 0x03
> openpic0 at macobio0: version 0x4614
> gpio_obio0 at macobio0
> gpio_obio1 at gpio_obio0 irq 47
> programmer-switch at gpio_obio0 not configured
> firewire-linkon at gpio_obio0 not configured
> zsc0 at macobio0: irq 22,23
> zstty0 at zsc0 channel 0
> zstty1 at zsc0 channel 1
> awacs0 at macobio0: irq 24,9,10 speaker
> audio0 at awacs0
> adb0 at macobio0 irq 25: via-pmu 3 targets
> aed0 at adb0 addr 0: ADB Event device
> akbd0 at adb0 addr 2: PowerBook G4 keyboard (Inverted T)
> wskbd0 at akbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
> ams0 at adb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi
> wsmouse0 at ams0 mux 0
> abtn0 at adb0 addr 7: brightness/volume/eject buttons
> apm0 at adb0: battery flags 0x4, 91% charged
> ki2c0 at macobio0
> wdc0 at macobio0 irq 19: DMA
> wd0 at wdc0 channel 0 drive 0: <TOSHIBA MK1016GAP>
> wd0: 16-sector PIO, LBA, 9590MB, 19640880 sectors
> wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
> wdc1 at macobio0 irq 20: DMA
> atapiscsi0 at wdc1 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <MATSHITA, DVD-ROM SR-8187, HA18> SCSI0 5/cdrom \
> removable cd0(wdc1:0:0): using BIOS timings, DMA mode 2
> wdc2 at macobio0 irq 21: DMA
> ohci0 at pci1 dev 24 function 0 "Apple USB" rev 0x00: irq 27, version 1.0
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> ohci1 at pci1 dev 25 function 0 "Apple USB" rev 0x00: irq 28, version 1.0
> usb1 at ohci1: USB revision 1.0
> uhub1 at usb1
> uhub1: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> cbb0 at pci1 dev 26 function 0 "Texas Instruments PCI1211 CardBus" rev 0x00: irq 58
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 1 device 0 cacheline 0x8, lattimer 0x20
> pcmcia0 at cardslot0
> mpcpcibr2 at mainbus0: uni-north, Revision 0xff
> pci2 at mpcpcibr2 bus 0
> pchb2 at pci2 dev 11 function 0 "Apple Uni-N Eth" rev 0x00
> vendor "Apple", unknown product 0x18 (class serial bus subclass Firewire, rev 0x01) \
> at pci2 dev 14 function 0 not configured gem0 at pci2 dev 15 function 0 "Apple \
>                 GMAC" rev 0x01
> gem0: address 00:03:93:12:c5:b0
> bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 3
> gem0: using irq 41 for interrupt
> bootpath: 'hd/bsd'
> string [/bsd] not found
> Warning: boot device unrecognized: hd/bsd
> boot device: lookup '' failed.
> root device : wd0a
> swap device (default wd0b): 
> root on wd0a
> rootdev=0x0 rrootdev=0xb00 rawdev=0xb02
> an0 at pcmcia0 function 0 "Cisco Systems, 350 Series Wireless LAN Adapter": address \
> 00:09:43:d2:4b:ec uhidev0 at uhub0 port 1 configuration 1 interface 0
> uhidev0: Microsoft Microsoft Wheel Mouse Optical\M-., rev 1.10/1.21, addr 2, iclass \
> 3/1 ums0 at uhidev0: 3 buttons and Z dir.
> wsmouse1 at ums0 mux 0


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic