[vortex] docking port/3c59x driver

Mark Smith Mark Smith <mark.vortex@winksmith.com>
Fri Mar 5 14:38:01 2004


i would like to setup my dell laptop to have fixed IF's so that i
know what each IF refers to regardless of where i boot it.  essentially
the following:

	eth0 -> docking port ethernet port
	eth1 -> onboard laptop ethernet port
	eth2 -> pcmcia wireless card

the only hitch is that my laptop only sees the ethernet adaptor attached 
to the docking bay only while it is in the docking bay (duh).

is there anyway to force the 3c59x driver to load eth0 at a particular
pci position even though the pci device is not attached at the time of
booting?  (e.g. not docked).

loading the 3c59x driver while docked, the driver recognizes both devices.

lspci output while booted attached to docking port:

	00:0d.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
		Subsystem: Dell Computer Corporation: Unknown device 00a7
		Flags: bus master, medium devsel, latency 32, IRQ 10
		I/O ports at dc00 [size=128]
		Memory at f3ffdc00 (32-bit, non-prefetchable) [size=128]
		Expansion ROM at fc000000 [disabled] [size=128K]
		Capabilities: [dc] Power Management version 2

	00:10.0 Ethernet controller: 3Com Corporation 3c556 Hurricane CardBus (rev 10)
		Subsystem: 3Com Corporation: Unknown device 6456
		Flags: bus master, medium devsel, latency 32, IRQ 11
		I/O ports at d400 [size=256]
		Memory at f3ffd800 (32-bit, non-prefetchable) [size=128]
		Memory at f3ffd400 (32-bit, non-prefetchable) [size=128]
		Expansion ROM at fc000000 [disabled] [size=128K]
		Capabilities: [50] Power Management version 2

syslog output:

	PCI: Found IRQ 10 for device 00:0d.0
	3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
	00:0d.0: 3Com PCI 3c905C Tornado at 0xdc00. Vers LK1.1.16
	PCI: Found IRQ 11 for device 00:10.0
	PCI: Sharing IRQ 11 with 00:03.0
	PCI: Sharing IRQ 11 with 00:03.1
	PCI: Sharing IRQ 11 with 00:07.2
	PCI: Sharing IRQ 11 with 00:10.1
	00:10.0: 3Com PCI 3c556 Laptop Tornado at 0xd400. Vers LK1.1.16
	PCI: Found IRQ 10 for device 00:0d.0
	3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
	00:0d.0: 3Com PCI 3c905C Tornado at 0xdc00. Vers LK1.1.16
	PCI: Found IRQ 11 for device 00:10.0
	PCI: Sharing IRQ 11 with 00:03.0
	PCI: Sharing IRQ 11 with 00:03.1
	PCI: Sharing IRQ 11 with 00:07.2
	PCI: Sharing IRQ 11 with 00:10.1
	00:10.0: 3Com PCI 3c556 Laptop Tornado at 0xd400. Vers LK1.1.16

-- 
Mark Smith (SysSec)
V: 703-265-3383
O: Reston, 1K12
E: smithm@aol.net
SN: marksmith000