Skip site navigation (1)Skip section navigation (2)
Date:      28 Jan 2002 06:31:28 -0000
From:      Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/34366: new pccard.conf entry for Nortel Networks BayStack 22 10/100 ethernet PC Card
Message-ID:  <20020128063128.50283.qmail@www.mmlab.cse.yzu.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         34366
>Category:       conf
>Synopsis:       new pccard.conf entry for Nortel Networks BayStack 22 10/100 ethernet PC Card
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 27 22:40:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tai-hwa Liang
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD www.mmlab.cse.yzu.edu.tw 4.5-PRERELEASE FreeBSD 4.5-20020108-PRERELEASE #0 i386


	
>Description:
	
## pccardc rdattr 0 0 200
0000: 01 01 02 02 00 00 ff ff 15 15 2a 2a 04 04 01 01 
0010: 4e 4e 6f 6f 72 72 74 74 65 65 6c 6c 00 00 42 42 
0020: 41 41 59 59 53 53 54 54 41 41 43 43 4b 4b 32 32 
0030: 32 32 2d 2d 50 50 43 43 4d 4d 43 43 49 49 41 41 
0040: 2d 2d 45 45 54 54 48 48 45 45 52 52 4e 4e 45 45 
0050: 54 54 00 00 56 56 31 31 00 00 30 30 00 00 ff ff 
0060: 20 20 04 04 bf bf 01 01 02 02 02 02 1a 1a 05 05 
0070: 01 01 01 01 c0 c0 03 03 63 63 1b 1b 0b 0b c7 c7 
0080: 81 81 19 19 07 07 55 55 4d 4d 5d 5d 65 65 30 30 
0090: ff ff ff ff 1b 1b 07 07 07 07 08 08 ca ca 60 60 
00a0: 00 00 03 03 1f 1f 1b 1b 07 07 07 07 08 08 ca ca 
00b0: 60 60 20 20 03 03 1f 1f 1b 1b 07 07 07 07 08 08 
00c0: ca ca 60 60 40 40 03 03 1f 1f 1b 1b 07 07 07 07 
00d0: 08 08 ca ca 60 60 60 60 03 03 1f 1f 1b 1b 07 07 
00e0: 07 07 08 08 ca ca 60 60 00 00 02 02 1f 1f 1b 1b 
00f0: 07 07 07 07 08 08 ca ca 60 60 20 20 02 02 1f 1f 
0100: 21 21 02 02 06 06 00 00 14 14 00 00 ff ff ff ff 
0110: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0120: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0130: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0140: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0150: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0160: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0170: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0190: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
01a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
01b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
01c0: 00 00 00 00 00 00 00 00 00 00 80 80 2d 2d 90 90 
01d0: 1f 1f fa fa 00 00 00 00 00 00 00 00 00 00 00 00 
01e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
01f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

## pccardc dumpcis
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 2
    000:  00 ff
	Common memory device information:
		Device number 1, type No device, WPS = OFF
		Speed = No speed, Memory block size = reserved, 32 units
Tuple #2, code = 0x15 (Version 1 info), length = 42
    000:  04 01 4e 6f 72 74 65 6c 00 42 41 59 53 54 41 43
    010:  4b 32 32 2d 50 43 4d 43 49 41 2d 45 54 48 45 52
    020:  4e 45 54 00 56 31 00 30 00 ff
	Version = 4.1, Manuf = [Nortel], card vers = [BAYSTACK22-PCMCIA-ETHERNET]
	Addit. info = [V1],[0]
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  bf 01 02 02
	PCMCIA ID = 0x1bf, OEM ID = 0x202
Tuple #4, code = 0x1a (Configuration map), length = 5
    000:  01 01 c0 03 63
	Reg len = 2, config register addr = 0x3c0, last config = 0x1
	Registers: XX---XX- 
Tuple #5, code = 0x1b (Configuration entry), length = 11
    000:  c7 81 19 07 55 4d 5d 65 30 ff ff
	Config index = 0x7(default)
	Interface byte = 0x81 (I/O)  wait signal supported
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
		Minimum operating supply voltage: 4.5 x 1V
		Maximum operating supply voltage: 5.5 x 1V
	Card decodes 5 address lines, full 8/16 Bit I/O
		IRQ modes: Level
		IRQs:  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Tuple #6, code = 0x1b (Configuration entry), length = 7
    000:  07 08 ca 60 00 03 1f
	Config index = 0x7
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x300 block length = 0x20
Tuple #7, code = 0x1b (Configuration entry), length = 7
    000:  07 08 ca 60 20 03 1f
	Config index = 0x7
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x320 block length = 0x20
Tuple #8, code = 0x1b (Configuration entry), length = 7
    000:  07 08 ca 60 40 03 1f
	Config index = 0x7
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x340 block length = 0x20
Tuple #9, code = 0x1b (Configuration entry), length = 7
    000:  07 08 ca 60 60 03 1f
	Config index = 0x7
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x360 block length = 0x20
Tuple #10, code = 0x1b (Configuration entry), length = 7
    000:  07 08 ca 60 00 02 1f
	Config index = 0x7
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x200 block length = 0x20
Tuple #11, code = 0x1b (Configuration entry), length = 7
    000:  07 08 ca 60 20 02 1f
	Config index = 0x7
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x220 block length = 0x20
Tuple #12, code = 0x21 (Functional ID), length = 2
    000:  06 00
	Network/LAN adapter
Tuple #13, code = 0x14 (No link), length = 0
Tuple #14, code = 0xff (Terminator), length = 0
2 slots found

>How-To-Repeat:
	
	The Linux pcmcia-cs-3.1.31 driver probe this card as a AX88190 based
network adapter; however, the MAC address seems wrong when probing by
FreeBSD's ax88190_geteprom() unless specify the "ether" keyword in pccard.conf.
>Fix:

	
	Please review & commit following entry, thanks.

## /etc/pccard.conf entry:

# Nortel Networks BayStack 22 Ethernet 10/100 PC Card
card "Nortel" "BAYSTACK22-PCMCIA-ETHERNET"
	ether	0x1c8
	config	auto "ed" ? 0x30000
	insert	/etc/pccard_ether $device start
	remove	/etc/pccard_ether $device stop
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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