On Wed, 26 Jul 2000, OKUJI Yoshinori wrote:

>   I don't have time to upgrade the etherboot drivers. Send a patch.

here's the patch. I saw that the authors of etherboot have introduce this
new flag for other cards in order to make them work. So I guess this is a just
fix for my card. maybe it's useful for others too. who knows...

wagi

-- 
Daniel Wagner
email: [EMAIL PROTECTED]

GnuPG: 1024D/DCDE890A (public key available on any keyserver)
Index: configure.in
===================================================================
RCS file: /cvs/grub/configure.in,v
retrieving revision 1.44
diff -c -r1.44 configure.in
*** configure.in        2000/06/15 10:21:01     1.44
--- configure.in        2000/07/26 21:08:12
***************
*** 446,451 ****
--- 446,458 ----
    NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DCOMPEX_RL2000_FIX=1"
  fi
  
+ AC_ARG_ENABLE(planet-enw-8300-fix,
+   [  --enable-planet-enw-8300-fix
+                         specify this if you have a Planet ENW-8300 PCI])
+ if test "x$enable_planet_enw_8300_fix" = xyes; then
+   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DPLANET_ENW_8300_FIX=1"
+ fi
+ 
  AC_ARG_ENABLE(smc9000-scan,
    [  --enable-smc9000-scan=LIST
                            probe for SMC9000 I/O addresses using LIST],
Index: ns8390.c
===================================================================
RCS file: /cvs/grub/netboot/ns8390.c,v
retrieving revision 1.3
diff -c -r1.3 ns8390.c
*** ns8390.c    2000/04/22 01:17:09     1.3
--- ns8390.c    2000/07/26 21:09:42
***************
*** 879,887 ****
--- 879,889 ----
                        outb(D8390_DCR_FT1 | D8390_DCR_LS, eth_nic_base + 
D8390_P0_DCR);
                        outb(MEM_8192, eth_nic_base + D8390_P0_PSTART);
                        outb(MEM_16384, eth_nic_base + D8390_P0_PSTOP);
+ #ifndef PLANET_ENW_8300_FIX
  #ifdef        INCLUDE_NS8390
                        eth_flags |= FLAG_16BIT;        /* force 16-bit mode */
  #endif
+ #endif /* PLANET_ENW_8300_FIX */
  
                        eth_pio_write(test, 8192, sizeof(test));
                        eth_pio_read(8192, testbuf, sizeof(test));
2000-07-26  Daniel Wagner    <[EMAIL PROTECTED]>

        * netboot/ns8390.c  (eth_probe): Don't force a planet ENW-8300 
        pci to the 16 bit mode.  
        * configure.in  A new flag in NET_EXTRAFLAG in order to enabling 
        the planet ENW-8300 fix.

Reply via email to