[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-tech
Subject: dc(4) at cardbus feature request in bsd.rd/cdXY.iso
From: Moritz Grimm <mlist () scapa ! dnsalias ! net>
Date: 2005-01-27 18:38:42
Message-ID: 41F93532.2000309 () scapa ! dnsalias ! net
[Download RAW message or body]
Hi,
for upcoming releases of OpenBSD, I would love to be able to
upgrade/install my good ol' Dell Inspiron 7500 with its Xircom PCMCIA
NIC over the network. Since we're not using 2.88MB floppy emulation
anymore, I was wondering if it would be possible to enable dc@cardbus in
RAMDISK_CD. My humble kernel configuration editing skills tell me that
the following patch (hope it survives inlining) works:
--- RAMDISK_CD.orig Thu Jan 27 15:54:01 2005
+++ RAMDISK_CD Thu Jan 27 15:54:44 2005
@@ -309,6 +309,7 @@
tl* at pci? # Compaq Thunderlan ethernet
vr* at pci? # VIA Rhine ethernet
dc* at pci? # 21143, "tulip" clone ethernet
+dc* at cardbus? # 21143, "tulip" clone ethernet
sis* at pci? # SiS 900/7016 ethernet
wb* at pci? # Winbond W89C840F ethernet
ti* at pci? # Alteon Tigon 1Gb ethernet
This looks trivial enough, although I won't pretend to understand the
kernel and possible complications because of this change. At least I did
some testing - that is, I made a release and tested the resulting
bsd.rd. First of all, my building log didn't show any "out of space"
errors, so it seems to fit nicely. That was the result:
-rw-r--r-- 1 root wheel 4352600 Jan 27 17:34 bsd.rd
All I can say is "works for me", see the dmesg below that I transferred
via FTP to another box so I can mail this to you - done within bsd.rd's
shell after i've let upgrade.sh configure the network for me.
Moritz
OpenBSD 3.6-current (RAMDISK_CD) #10: Thu Jan 27 17:25:40 CET 2005
maxx@rain.jolly:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 601 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 133734400 (130600K)
avail mem = 116797440 (114060K)
using 1658 buffers containing 6791168 bytes (6632K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(b2) BIOS, date 11/08/00, BIOS32 rev. 0 @ 0xfd890
apm0 at bios0: Power Management spec V1.2
pcibios0 at bios0: rev 2.1 @ 0xfd890/0x770
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf50/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0x10000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Mobility 1" rev 0x64
wsdisplay0 at vga1: console (80x25, vt100 emulation)
cbb0 at pci0 dev 4 function 0 "Texas Instruments PCI1225 CardBus" rev
0x01: irq 11
cbb1 at pci0 dev 4 function 1 "Texas Instruments PCI1225 CardBus" rev
0x01: irq 11
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <IBM-DARA-218000>
wd0: 16-sector PIO, LBA, 17301MB, 35433216 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-C2402, 1009> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 5
usb0 at uhci0: USB revision 1.0
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
"Intel 82371AB Power Mgmt" rev 0x02 at pci0 dev 7 function 3 not configured
"ESS Maestro 2E" rev 0x10 at pci0 dev 8 function 0 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using
wsdisplay0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ffe5 netmask ffe5 ttymask ffe7
rd0: fixed, 3800 blocks
dc0 at cardbus0 dev 0 function 0 "Xircom, CardBus Ethernet 10/100 +
Modem 56, CBEM56G" irq 11 address 00:10:a4:c4:ac:37
tqphy0 at dc0 phy 0: 78Q2120 10/100 PHY, rev. 10
Xircom, CardBus Ethernet 10/100 + Modem 56, CBEM56G, 1.03 (manufacturer
0x105, product 0x1000) "Xircom 56k Modem" rev 0x03 at cardbus0 dev 0
function 1 not configured
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic