Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Apr 1999 16:45:40 -0500
From:      "Gary Palmer" <gpalmer@freebsd.org>
To:        UCHIYAMA Yasushi <uch@nop.or.jp>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: 3com 575 
Message-ID:  <27197.923175940@noop.colo.erols.net>
In-Reply-To: Your message of "Sun, 04 Apr 1999 02:28:59 %2B0900." <19990404022859A.uch@nop.or.jp> 

next in thread | previous in thread | raw e-mail | index | archive | help
UCHIYAMA Yasushi wrote in message ID
<19990404022859A.uch@nop.or.jp>:
>  Thank you for testing my patch.

Thanks for working on this :)

>  Your machines' default PCI configuration register setting is not
> correct.(but almost PCI-CardBus bridge are so.)

Why am I not surprised. <much grumbling about poor pc hardware deleted>

> 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.

Enclosed

> And 3C575BTX support is not completed(This card needs CardBus specific change
>  in if_xl.c). 
> 3C575TX is more stable.

It seems to work now ... thanks.

Yours,

Gary
--
Gary Palmer                                          FreeBSD Core Team Member
FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info

Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (267.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping=2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>>
real memory  = 134217728 (131072K bytes)
avail memory = 128118784 (125116K bytes)
Preloaded elf kernel "kernel.3.1" at 0xf025e000.
mainbus0 (root)
BIOS32 rev. 0 found at 0xffe90
PCI BIOS at 0xf0000-0x100000 entry point: 0xfbcde
rev. 2.1 config mechanism: [1][x] special cycle: [x][x] last bus#:00
PCI only IRQ bitmap:................
bus:  0 device:  7 slot: 0
INTA# link=100.|..............
INTB# link=101|...............
INTC# link=98......|.........
INTD# link=99....|...........
bus:  0 device:  2 slot: 0
INTA# link=96....|...........
pcibios_get_intr_routing: interrupt routing map is broken.
bus:  0 device:  3 slot: 0
INTA# link=99....|...........
INTB# link=99....|...........
bus:  0 device: 13 slot: 0
INTA# link=98||.||||.|||||...
bus:  1 device:  1 slot: 0
INTA# link=98||.||||.|||||...
INTB# link=97||.||||.|||||...
pcibios_get_intr_routing: interrupt routing map is broken.
bus:  1 device:  5 slot: 0
INTA# link=98||.||||.|||||...
bus:  1 device:  7 slot: 0
INTA# link=98||.||||.|||||...
bus:  1 device:  8 slot: 0
INTA# link=98||.||||.|||||...
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       7       0    0   -   -    -   8086    7110
  0       7       1    0   -   -    -   8086    7111
  0       7       2    0   D   3   11   8086    7112
  0       7       3    0   -   -    -   8086    7113
  0       3       0    0   A   3   11   104c    ac15
  0       3       1    0   B   3   11   104c    ac15
PCI IRQ map:....|...........
Link->IRQ:[ 0->N 1->N 2->N 3->11 ] # of bogus devices:0/3 
-----------------------------------------------------
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 0: Intel 82443BX host to PCI bridge (AGP disabled)
vga1 at pci0 dev 2 func 0: NeoMagic NM2160 laptop SVGA controller
cbb0 at pci0 dev 3 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: 00741028 00000001 00000000 00000000
 0x80: 00243024 00000000 00000000 00000000
 0x90: 0070aa00 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:10:4b:e2:fb:a1
pccbbattach: found cardbus
pcmcia0 at cbb0 slot 0
cbb1 at pci0 dev 3 func 1 (TI1131), flags 3
cbb1: CardBus resister address 0x0 -> 0x68010000
 intrpin B, 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 
cbb1: interrupting at irq 11
PCI config regs:
 0x00: ac15104c 02000007 06070001 00822008
 0x10: 68010000 02000000 10020200 fffff000
 0x20: 00000000 fffff000 00000000 fffffffc
 0x30: 00000000 fffffffc 00000000 0340020b
 0x40: 00741028 00000001 00000000 00000000
 0x80: 00241024 00000000 00000000 00000000
 0x90: 0070aa00 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
pcib0 at pci0 dev 7 func 0: Intel 82371AB PCI to ISA bridge
trigger setting:(0e, 1e, 2e, 3e->4e->5e->6e->7e->8e, 9e->10e->11l->l, 12e->13e, 14e->15e->)
vendor 0x8086 id 0x7111 at pci0 dev 7 func 1: not configured
uhci0 at pci0 dev 7 func 2: Intel 82371AB/EB USB Host Controller
 intr_establish:irq=11 trigger=level ipl=bio 
usb0 at uhci0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chipset0 at pci0 dev 7 func 3: Intel 82371AB Power management controller
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>
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
psm0 at isa0 irq 12 intr_establish:irq=12 trigger=level ipl=bio 
: model Generic PS/2 mouse, device ID 0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2 intr_establish:irq=6 trigger=edge ipl=bio 
: FIFO enabled, 8 bytes threshold
wdc0 at isa0 irq 14
wd0 at wdc0 unit 0: <IBM-DKLA-24320> 4126MB (8452080 sectors), 8944 cyls, 15 heads, 63 S/T, 512 B/S
isapnp0: no ISA Plug 'n Play devices found
changing root device to wd0s2a
- cardbus_intr_establish: irq 11
 intr_establish:irq=11 trigger=level ipl=net 


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?27197.923175940>