Hi guys, I'm trying to use a D-Link DFE580TX quad-nic card on a Sun Ultra5 station (sparc64 arch). This card is supposed to work well with ste driver, but it seems it is not included in the GENERIC 4.4 kernel...
according to the dmesg, the card seems to be detected by the kernel : console is keyboard/display Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2008 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.4 (GENERIC) #1715: Mon Aug 11 17:55:10 MDT 2008 dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC real mem = 402653184 (384MB) avail mem = 377905152 (360MB) mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 333MHz) cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 9.0) @ 333 MHz cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l) psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0 psycho0: bus range 0-3, PCI bus 0 psycho0: dvma map c0000000-dfffffff, iotdb 754000-7d4000 pci0 at psycho0 ppb0 at pci0 dev 1 function 1 "Sun Simba PCI-PCI" rev 0x11 pci1 at ppb0 bus 1 ebus0 at pci1 dev 1 function 0 "Sun PCIO EBus2" rev 0x01 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003 power0 at ebus0 addr 724000-724003 ivec 0x25 "SUNW,pll" at ebus0 addr 504000-504002 not configured sab0 at ebus0 addr 400000-40007f ivec 0x2b: rev 3.2 sabtty0 at sab0 port 0 sabtty1 at sab0 port 1 comkbd0 at ebus0 addr 3083f8-3083ff ivec 0x29: layout 34 wskbd0 at comkbd0: console keyboard com0 at ebus0 addr 3062f8-3062ff ivec 0x2a: mouse: ns16550a, 16 byte fifo lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ivec 0x22: polled "fdthree" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ivec 0x27 not configured clock1 at ebus0 addr 0-1fff: mk48t59 "flashprom" at ebus0 addr 0-fffff not configured audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 722000-722003 ivec 0x23 ivec 0x24: nvaddrs 0 audio0 at audioce0 hme0 at pci1 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address 08:00:20:9f:ac:98 nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1 vgafb0 at pci1 dev 2 function 0 "ATI Mach64 GT" rev 0x9a wsdisplay0 at vgafb0: console (std, sun emulation), using wskbd0 pciide0 at pci1 dev 3 function 0 "CMD Technology PCI0646" rev 0x03: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using ivec 0x7e0 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: <Maxtor 6E020L0> wd0: 16-sector PIO, LBA, 19881MB, 40718160 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: <PLEXTOR, CD-R PX-W4824A, 1.03> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 ppb1 at pci0 dev 1 function 0 "Sun Simba PCI-PCI" rev 0x11 pci2 at ppb1 bus 2 em0 at pci2 dev 2 function 0 "Intel PRO/1000GT (82541GI)" rev 0x05: ivec 0x7d4, address 00:1b:21:31:ea:0c ppb2 at pci2 dev 3 function 0 "Intel S21152BB PCI-PCI" rev 0x00 pci3 at ppb2 bus 3 "D-Link Systems 550TX" rev 0x15 at pci3 dev 4 function 0 not configured "D-Link Systems 550TX" rev 0x15 at pci3 dev 5 function 0 not configured "D-Link Systems 550TX" rev 0x15 at pci3 dev 6 function 0 not configured "D-Link Systems 550TX" rev 0x15 at pci3 dev 7 function 0 not configured softraid0 at root bootpath: /p...@1f,0/p...@1,1/i...@3,0/d...@0,0 root on wd0a swap on wd0b dump on wd0b So I tried to recompile my own kernel, customising the GENERIC config file by adding this line : ste* at pci? # D-Link DFE 580TX but at compile time I get this error : cc -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized -Wno-format -Wno-main -Wstack-larger-than-2047 -Wvariable-decl -Wa,-Av9b, -mno-fpu -fno-builtin-printf -fno-builtin-log -pipe -nostdinc -I. -I/usr/src/sys/arch/sparc64/compile/EVE/../../../.. -I/usr/src/sys/arch/sparc64/compile/EVE/../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_43 -DCOMPAT_O43 -DLKM -DFFS -DFFS2 -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DXFS -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DNFSCLIENT -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DPORTAL -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE -DMROUTING -DBOOT_CONFIG -DSUN4US -DSUN4V -DPCIVERBOSE -DUSER_PCICONF -DAPERTURE -DUSBVERBOSE -DWSEMUL_SUN -DWSEMUL_NO_VT100 -DWSEMUL_DUMB -DISP_COMPILE_FW="1" -DISP_COMPILE_1000_FW="1" -DONEWIREVERBOSE -D_KERNEL -c /usr/src/sys/arch/sparc64/compile/EVE/../../../../dev/pci/if_ste.c /usr/src/sys/dev/pci/if_ste.c: In function `ste_newbuf': /usr/src/sys/dev/pci/if_ste.c:1024: warning: implicit declaration of function `vtophys' *** Error code 1 Stop in /usr/src/sys/arch/sparc64/compile/EVE (line 92 of /usr/share/mk/sys.mk). It would be nice to be able to compile that driver for sparc, if possible... Thanks for your help ! -- Eric Belhomme [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]