Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Apr 1999 02:28:59 +0900
From:      UCHIYAMA Yasushi <uch@nop.or.jp>
To:        gpalmer@freebsd.org, freebsd-mobile@freebsd.org
Subject:   Re: 3com 575
Message-ID:  <19990404022859A.uch@nop.or.jp>

next in thread | raw e-mail | index | archive | help
 | I've downloaded and patched up a kernel with the patches posted by
 | `UCHIYAMA Yasushi <uch@nop.or.jp>' two weeks ago or so. I have a 3Com
 | 3CCFE575BT-D (according to the back) (rebadged as a Dell
 | card). However, the vendor/product ID's don't match any 3Com card
 | (infact I suspect the vendor is Intel).

 Thank you for testing my patch.

 | BIOS32 rev. 0 found at 0xffe90
 | PCI BIOS rev. 2.1 config mechanism: [1][x] special cycle: [x][x] last bus#:00
 | pcibios_get_intr_routing: interrupt routing map is broken.
 | mainbus_attach: PCI BIOS fix up failed.

 Your machines' default PCI configuration register setting is not
correct.(but almost PCI-CardBus bridge are so.) Because PCI bus
enumeration is bogus, configuration cycle didn't come down to PCI bus
#1,2(cbb0,cbb1) so didn't find 3c575. (but found Intel chip on bus #0).

	cardbus0 at cbb0 bus 0 device 0
	cardbus1 at cbb1 bus 0 device 1
should be
	cardbus0 at cbb0 bus 1 device 0
	cardbus1 at cbb1 bus 2 device 1

Please change sys/i386/pci/pcibios.c to ftp://ftp.nop.or.jp/users/uch/PCMCIA/FreeBSD/pcibios.c
Then, Let me see its dmesg.
And 3C575BTX support is not completed(This card needs CardBus specific change in if_xl.c). 
3C575TX is more stable.
---
UCHIYAMA Yasushi
uch@nop.or.jp 

My 3CXFE575BT + TI PCI-1131 dmesg:

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.1-RELEASE #1: Sun Apr  4 01:57:49 JST 1999
    uch@r3000.rfe.nop.or.jp:/usr/src/sys/compile/ALEXANDLITE
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD-K6tm w/ multimedia extensions (200.46-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x561  Stepping=1
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 62914560 (61440K bytes)
avail memory = 58781696 (57404K bytes)
Preloaded elf kernel "kernel" at 0xf025a000.
mainbus0 (root)
BIOS32 rev. 0 found at 0xf04a0
PCI BIOS at 0xf0000-0xf0b52 entry point: 0xf04d0
rev. 2.1 config mechanism: [1][x] special cycle: [1][x] last bus#:00
PCI only IRQ bitmap:................
bus:  0 device: 12 slot: 1
INTA# link=1...||||.|.|||...
INTB# link=2...||||.|.|||...
INTC# link=3...||||.|.|||...
INTD# link=4...||||.|.|||...
bus:  0 device: 11 slot: 2
INTA# link=2...||||.|.|||...
INTB# link=3...||||.|.|||...
INTC# link=4...||||.|.|||...
INTD# link=1...||||.|.|||...
bus:  0 device: 10 slot: 3
INTA# link=3...||||.|.|||...
INTB# link=4...||||.|.|||...
INTC# link=1...||||.|.|||...
INTD# link=2...||||.|.|||...
bus:  0 device:  9 slot: 4
INTA# link=4...||||.|.|||...
INTB# link=1...||||.|.|||...
INTC# link=2...||||.|.|||...
INTD# link=3...||||.|.|||...
bus:  0 device:  1 slot: 0
INTA# link=1...||||.|.|||...
INTB# link=2...||||.|.|||...
INTC# link=3...||||.|.|||...
INTD# link=4...||||.|.|||...
bus:  0 device: 19 slot: 0
INTA# link=1...||||.|.|||...
INTB# link=2...||||.|.|||...
INTC# link=3...||||.|.|||...
INTD# link=4...||||.|.|||...
bus:  0 device: 13 slot: 0
INTA# link=1...||||.|.|||...
INTB# link=2...||||.|.|||...
INTC# link=3...||||.|.|||...
INTD# link=4...||||.|.|||...
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
bus:  0 device:  0 slot: 0
Bus  Device Function Slot Pin Link IRQ Vendor Product
-----------------------------------------------------
  0      12       0    1   A   0   11   104c    ac15
  0      12       1    1   B   1   10   104c    ac15
  0       1       0    0   -   -    -   1039    0008
  0       1       1    0   A   X0 14x11 1039    5513
  0       1       2    0   A   X0 12x11 1039    7001
  0      19       0    0   -   -    -   1039    0200
PCI IRQ map:.|.|||..........
Link->IRQ:[ 0->11 1->10 2->N 3->N ] # of bogus devices:0/4 
-----------------------------------------------------
bridge0 primary=0 secondary=1 subordinate=1
bridge1 primary=0 secondary=2 subordinate=2
pcibios_fixup: Correct last bus # is 2.
pci0 at mainbus0
Probing for devices on PCI bus 0:
pchb0 at pci0 dev 0 func 0pcib0 at pci0 dev 1 func 0: SiS 85c503
vendor 0x1039 id 0x5513 at pci0 dev 1 func 1: not configured
vendor 0x1039 id 0x7001 at pci0 dev 1 func 2: not configured
cbb0 at pci0 dev 12 func 0 (TI1131), flags 3
cbb0: CardBus resister address 0x0 -> 0x68000000
 intrpin A, intrtag 11
CardBus latency time 0x10
PCI latency time 0x20
ExCA regs: 0x803: 10 0x805: 00 0x81e: 00
 intr_establish:irq=11 trigger=level ipl=bio 
cbb0: interrupting at irq 11
PCI config regs:
 0x00: ac15104c 02000007 06070001 00822008
 0x10: 68000000 02000000 10010100 fffff000
 0x20: 00000000 fffff000 00000000 fffffffc
 0x30: 00000000 fffffffc 00000000 0340010b
 0x40: 00000000 00000001 00000000 00000000
 0x80: 00043020 00000000 00000000 00000000
 0x90: 00702800 00000000 00000000 00000000
 0xa0: 00000000 00000000 00000000 00000000
socket regs: 00000000 00000006 30000820 00000000 00000000
ExCA regs: 84 0c 00 10 00 00 00 00
cardbus0 at cbb0 bus 1 device 0
cardbusattach: CardBus card found [0x2]
cardbus_attach_card: cb0 start
pccbb_power: CARDBUS_VCC_3V and CARDBUS_VPP_UC [1]
cardbus_attach_card: Vendor 0x10b7, Product 0x5157, CIS 0x90
tuple: LINKTARGET len 5
  0x 0: 13 3 43 49 53
tuple: MANFID len 6
  0x 0: 20 4 1 1 57 51
tuple: CONFIG_CB len 8
  0x 0: 4 6 3 1 0 0 0 0
tuple: CFTABLE_ENTRY_CB len 14
  0x 0: 5 c 41 9a 1 b5 1e 1 55 2 30 ff ff 1
tuple: BAR len 8
  0x 0: 7 6 11 0 40 0 0 0
tuple: VERS_1 len 54
  0x 0: 15 34 5 0 33 43 6f 6d 20 43 6f 72 70 6f 72 61
  0x10: 74 69 6f 6e 0 33 43 43 46 45 35 37 35 42 54 0
  0x20: 4c 41 4e 20 43 61 72 64 62 75 73 20 43 61 72 64
  0x30: 0 30 30 31 0 ff
tuple: FUNCID len 4
  0x 0: 21 2 6 1
tuple: CFTABLE_ENTRY_CB len 8
  0x 0: 5 6 0 80 80 80 80 19
tuple: END len 1
xl0 at cardbus0 dev 0 function 0pccbb_io_open: 0x8300[0x2c] - 0x8380[0x30]
pccbb_cardenable: command reg 0x2000007
pccbb_cardenable: command reg 0x2000007

 3Com 3C575BTX (cyclone)xl0: Ethernet address: 00:00:86:33:58:10
pccbbattach: found cardbus
pcmcia0 at cbb0 slot 0
cbb1 at pci0 dev 12 func 1 (TI1131), flags 3
cbb1: CardBus resister address 0x0 -> 0x68010000
 intrpin B, intrtag 10
CardBus latency time 0x10
PCI latency time 0x20
ExCA regs: 0x803: 10 0x805: 00 0x81e: 00
 intr_establish:irq=10 trigger=level ipl=bio 
cbb1: interrupting at irq 10
PCI config regs:
 0x00: ac15104c 02000007 06070001 00822008
 0x10: 68010000 02000000 10020200 fffff000
 0x20: 00000000 fffff000 00000000 fffffffc
 0x30: 00000000 fffffffc 00000000 0340020a
 0x40: 00000000 00000001 00000000 00000000
 0x80: 00041020 00000000 00000000 00000000
 0x90: 00702800 00000000 00000000 00000000
 0xa0: 00000000 00000000 00000000 00000000
socket regs: 00000000 00000006 30000106 00000000 00000000
ExCA regs: 84 00 00 10 00 00 00 00
cardbus1 at cbb1 bus 2 device 1
pccbbattach: found cardbus
pcmcia1 at cbb1 slot 1
vga1 at pci0 dev 19 func 0: SiS model 0200 VGA-compatible display device
isa0 at pcib0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
sc0 at isa0
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at isa0 port 0x3f8-0x3ff irq 4sio0: configured irq 4 not in bitmap of probed irqs 0
 intr_establish:irq=4 trigger=level ipl=bio 

sio0: type 8250
sio0: configured irq 3 not in bitmap of probed irqs 0
vga0 at isa0
npx0 at isa0 irq 13: INT 16 interface
apm0 at isa0: found APM BIOS version 1.2
atkbdc0 at isa0
atkbd0 at isa0 irq 1
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2 intr_establish:irq=6 trigger=edge ipl=bio 
: FIFO enabled, 8 bytes threshold
fd0 at fdc0 drive 0: 1.44MB 3.5in
wdc0 at isa0 irq 14
wd0 at wdc0 unit 0: <QUANTUM FIREBALL_TM2550A> 2445MB (5008752 sectors), 4969 cyls, 16 heads, 63 S/T, 512 B/S
isapnp0: no ISA Plug 'n Play devices found
changing root device to wd0s1a
WARNING: / was not properly dismounted


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?19990404022859A.uch>