Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2001 18:38:42 -0700 (PDT)
From:      huang wen hui <huanghwh@yahoo.com>
To:        Warner Losh <imp@harmony.village.org>
Cc:        freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: My Xircom driver not work on 4.4 
Message-ID:  <20011009013842.68463.qmail@web20409.mail.yahoo.com>
In-Reply-To: <200110081602.f98G2L759656@harmony.village.org>

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

--- Warner Losh <imp@harmony.village.org> wrote: 
> Try adding #define XE_DEBUG 2 at the start of 
> if_xe.c, rebuilding and 
> letting me know. 
> 
> Also, chances are good that this may be due to a 
> problem with memory 
> allocation in -stable. 
> 
> orm0: <Option ROM> at iomem 0xc0000-0xc9fff on isa0 
> 
> This is an indication of the problem. 0xca000 isn't 
> a good place to 
> start, and it is likely what is being used. Try 
> setting 
> sysctl -w machdep.pccard.mem_start:0xd0000 
> and trying again. 
> 
> Warner 
OK, after setting "machdep.pccard.mem_start=0xd0000"
in /etc/sysctl.conf,

xe driver works.  but I have one question, why xe use
here  IRQ 3, not use 9 or 10 ?

IRQ 3 was used by mwave. and IRQ 9 and 10 should be
available. Here is the dmesg:

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
1991, 1992, 1993, 1994
 The Regents of the University of California. All
rights reserved.
FreeBSD 4.4-STABLE #8: Tue Oct  9 09:13:35 CST 2001
    root@IBM01.gdvnet.com:/usr/src/sys/compile/IBM01
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (298.42-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,FXSR>
real memory  = 134021120 (130880K bytes)
avail memory = 126758912 (123788K bytes)
Preloaded elf kernel "kernel" at 0xc03aa000.
Preloaded elf module "mwavedd.ko" at 0xc03aa09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: No call entry point
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX host to PCI bridge (AGP
disabled)> on motherboard
pci0: <PCI bus> on pcib0
pcic0: <TI PCI-1250 PCI-CardBus Bridge> mem
0x20301000-0x20301fff at device 2.0 on pci0
pcic0: Polling mode
pcic0: TI12XX PCI Config Reg: [ring enable][speaker
enable][pwr save][CSC parallel isa irq]
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1250 PCI-CardBus Bridge> mem
0x20300000-0x20300fff at device 2.1 on pci0
pcic1: Polling mode
pcic1: TI12XX PCI Config Reg: [ring enable][speaker
enable][pwr save][CSC parallel isa irq]
pccard1: <PC Card bus (classic)> on pcic1
pci0: <NeoMagic MagicGraph 128XD SVGA controller> at
3.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0
on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port
0xfcf0-0xfcff at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port
0x8400-0x841f irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on
uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
chip1: <Intel 82371AB Power management controller>
port 0xefa0-0xefaf at device 7.3 on pci0
orm0: <Option ROM> at iomem 0xc0000-0xc9fff on isa0
mwave0: <mwave> on isa0
Mwave Modem, UART settings IRQ 0x3   IO 0x2f8
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7
irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
atkbdc0: <Keyboard controller (i8042)> at port
0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem
0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0: cannot reserve I/O port range
sbc0: <SoundBlaster Pro> at port 0x220-0x22f irq 5 drq
1 flags 0x15 on isa0
pcm0: <SB DSP 3.02> on sbc0
pca0 at port 0x40 on isa0
IP Filter: v3.4.20 initialized.  Default = pass all,
Logging = enabled
ad0: 4887MB <IBM-DADA-25120> [10592/15/63] at
ata0-master UDMA33
acd0: CDROM <TOSHIBA CD-ROM XM-1902B> at ata1-master
using PIO4
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 0
xe0: xe: Probing
xe0: Got version string (0x15)
xe0: Got card ID (0x20)
xe0: Card is Ethernet only
xe0: Got MAC address (0x22)
xe0 at port 0x240-0x24f iomem 0xd1000-0xd1fff irq 3
slot 0 on pccard0
xe0: attach
xe0: Xircom CE3, bonding version 0x45, 100Mbps capable
xe0: DingoID = 0x444b, RevisionID = 0, VendorID = 0
xe0: Ethernet address 00:80:c7:cb:82:a3
xe0: init
xe0: enable_intr
xe0: init
xe0: enable_intr
xe0: init
xe0: enable_intr
xe0: init
xe0: enable_intr
xe0: init
xe0: enable_intr
xe0: init
xe0: enable_intr
xe0: media_status
xe0: media_status
xe0: watchdog timeout; resetting card
xe0: stop
xe0: disable_intr
xe0: hard_reset
xe0: setmedia
xe0: disable_intr
xe0: Waiting for idle transmitter
xe0: init
xe0: setmedia
xe0: disable_intr
xe0: soft_reset
xe0: silicon revision = 4
xe0: disable_intr
xe0: PHY OK!
xe0: MII registers:  0:3400 1:7809 4:01e1 5:0000
6:0000
xe0: Starting autonegotiation
xe0: setmedia
xe0: disable_intr
xe0: Autonegotiation complete!
xe0: MII registers:  0:2000 1:780d 4:00a1 5:0001
6:0000
xe0: Setting LEDs
xe0: init
xe0: enable_intr
 



__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

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




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