You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3c503.patch 1.1KB

123456789101112131415161718192021222324
  1. diff -Naur linux.orig/drivers/net/3c503.c linux/drivers/net/3c503.c
  2. --- linux.orig/drivers/net/3c503.c Thu Feb 19 23:14:04 1998
  3. +++ linux/drivers/net/3c503.c Thu Feb 19 23:16:24 1998
  4. @@ -179,7 +179,8 @@
  5. for both the old and new 3Com prefix */
  6. outb(ECNTRL_SAPROM|ECNTRL_THIN, ioaddr + 0x406);
  7. vendor_id = inb(ioaddr)*0x10000 + inb(ioaddr + 1)*0x100 + inb(ioaddr + 2);
  8. - if ((vendor_id != OLD_3COM_ID) && (vendor_id != NEW_3COM_ID)) {
  9. + if ((vendor_id != OLD_3COM_ID) && (vendor_id != NEW_3COM_ID) &&
  10. + (vendor_id != BULL_3COM_ID)) {
  11. /* Restore the register we frobbed. */
  12. outb(saved_406, ioaddr + 0x406);
  13. return ENODEV;
  14. diff -Naur linux.orig/drivers/net/3c503.h linux/drivers/net/3c503.h
  15. --- linux.orig/drivers/net/3c503.h Thu Feb 19 23:14:05 1998
  16. +++ linux/drivers/net/3c503.h Mon Feb 16 11:41:56 1998
  17. @@ -11,6 +11,7 @@
  18. #define OLD_3COM_ID 0x02608c
  19. #define NEW_3COM_ID 0x0020af
  20. +#define BULL_3COM_ID 0x000062
  21. /* Shared memory management parameters. NB: The 8 bit cards have only
  22. one bank (MB1) which serves both Tx and Rx packet space. The 16bit