From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,8955d3b007a287f1 X-Google-Attributes: gid111c93,public From: mvergall@alpha.double-barrel.be (Michael C. Vergallen) Subject: Re: Problem with tulip driver Date: 1997/11/26 Message-ID: X-Deja-AN: 292880218 References: <3479E7F9.8DBD932@amt.tay1.dec.com> Organization: UUNET Benelux (post does not reflect views of UUNET Benelux) Newsgroups: comp.os.linux.alpha On Mon, 24 Nov 1997 15:47:53 -0500, Jim Paradis wrote: >Michael C. Vergallen wrote: >> Shit..., on reading the source code I found the problem, the CONFIG file in >> /usr/src/linux/drivers/net had the anwer to my problem ..:-) I had to set a >> few defines. But like there was no hint becuase there was no doc telling me >> this. I spend 20hrs trying all different kernels until I allmost gave up. > >For the benefit of everyone else who might have this problem, could you >tell us exactly what you did to make this work? Hi, Yes I could ... Just a moment ... Just cut this and replace the original file. Others may have to change the last line.. Here is the CONFIG that works for my card : ---- begin of /usr/src/linux/drivers/net/CONFIG # # This file is used for selecting non-standard netcard options, and # need not be modified for typical use. # # Drivers are *not* selected in this file, but rather with files # automatically generated during the top-level kernel configuration. # # Special options supported, indexed by their 'config' name: # # CONFIG_WD80x3 The Western Digital (SMC) WD80x3 driver # WD_SHMEM=xxx Forces the address of the shared memory # CONFIG_NE2000 The NE-[12]000 clone driver. # PACKETBUF_MEMSIZE Allows an extra-large packet buffer to be # used. Usually pointless under Linux. # show_all_SAPROM Show the entire address PROM, not just the # ethernet address, during boot. # CONFIG_NE_RW_BUGFIX Patch an obscure bug with a version of the 8390. # CONFIG_NE_SANITY Double check the internal card xfer address # against the driver's value. Useful for debugging. # CONFIG_HPLAN The HP-LAN driver (for 8390-based boards only). # rw_bugfix Fix the same obscure bug. # CONFIG_EL2 The 3c503 EtherLink II driver # EL2_AUI Default to the AUI port instead of the BNC port # no_probe_nonshared_memory Don't probe for programmed-I/O boards. # EL2MEMTEST Test shared memory at boot-time. # CONFIG_PLIP The Crynwr-protocol PL/IP driver # INITIALTIMEOUTFACTOR Timing parameters. # MAXTIMEOUTFACTOR # DE600 The D-Link DE-600 Portable Ethernet Adaptor. # DE600_IO The DE600 I/O-port address (0x378 == default) # DE600_IRQ The DE600 IRQ number to use (IRQ7 == default) # DE600_DEBUG Enable or disable DE600 debugging (default off) # DE620 The D-Link DE-600 Portable Ethernet Adaptor. # DE620_IO The DE620 I/O-port address (0x378 == default) # DE620_IRQ The DE620 IRQ number to use (IRQ7 == default) # DE620_DEBUG Enable or disable DE600 debugging (default off) # DEPCA The DIGITAL series of LANCE based Ethernet Cards # (DEPCA, DE100, DE200/1/2, DE210, DE422 (EISA)) # EWRK3 The DIGITAL series of AT Ethernet Cards (DE203/4/5) # EWRK3_DEBUG Set the desired debug level # # DE4x5 The DIGITAL series of PCI/EISA Ethernet Cards, # DE425, DE434, DE435, DE450, DE500 # DE4X5_DEBUG Set the desired debug level # DEC_ONLY Allows driver to work with DIGITAL cards only - # see linux/drivers/net/README.de4x5 # DE4X5_AUTOSENSE (Default) auto media/mode selection # If you want at least one board to not autosense then # no board can autosense. For a board mix of several # types, OR the manual values [eg for a DE500 (100M) with # a DE450 (AUI) use '-DDE4X5_AUTOSENSE=(_100Mb|AUI)'] # For full auto media/mode selection = AUTO # For manual TP media selection = TP # For manual TP/Nway media selection (DC21041) = TP_NW # For manual BNC media selection = BNC # For manual AUI media selection = AUI # For manual BNC/AUI media selection (DC21040) = BNC_AUI # For manual 10Mb/s mode selection (DC21140) = _10Mb # For manual 100Mb/s mode selection (DC21140) = _100Mb # The DC21040 will default to TP if TP_NW is specified # The DC21041 will default to BNC if BNC_AUI is specified # DE4X5_DO_MEMCPY Forces the Intels to use memory copies into sk_buffs # rather than straight DMA. # # DEFXX The DIGITAL series of FDDI EISA (DEFEA) and PCI (DEFPA) # controllers # DEFXX_DEBUG Set the desired debug level # # TULIP Tulip (dc21040/dc21041/ds21140) driver # TULIP_PORT specify default if_port # 0: 10TP # 1: 100Tx(ds21140)/AUI(dc2104x) # 2: BNC(dc2104x) # TULIP_FIX_PORT don't change if_port automatically if defined # TULIP_MAX_CARDS maximum number of probed card # # The following options exist, but cannot be set in this file. # lance.c # LANCE_DMA Change the default DMA to other than DMA5. # 8390.c # NO_PINGPONG Disable ping-pong transmit buffers. # Most drivers also have a *_DEBUG setting that may be adjusted. # The 8390 drivers share the EI_DEBUG setting. # General options for Space.c OPTS = # -DETH0_ADDR=0x300 -DETH0_IRQ=11 WD_OPTS = #-DWD_SHMEM=0xDD000 EL2_OPTS = #-DEL2_AUI NE_OPTS = HP_OPTS = PLIP_OPTS = DEPCA_OPTS = EWRK3_OPTS = DE4X5_OPTS = -DDE4X5_AUTOSENSE=BNC_AUI DEFXX_OPTS = ELP_OPTS = TULIP_OPTS = -DTULIP_PORT=2 -DTULIP_FIX_PORT=2 ----end of /usr/src/linux/drivers/net/CONFIG Regards, Michael. --- Michael C. Vergallen A.k.A. Mad Mike, Sportstraat 28 http://www.double-barrel.be/mvergall/ B 9000 Gent ftp://ftp.double-barrel.be/pub/linux/ Belgium tel : 32-9-2227764 Fax : 32-9-2224976