您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

3c509-eisa.c 931B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Split out from 3c509.c, since EISA cards are relatively rare, and
  3. * ROM space in 3c509s is very limited.
  4. *
  5. */
  6. #include "eisa.h"
  7. #include "isa.h"
  8. #include "console.h"
  9. #include "3c509.h"
  10. /*
  11. * The EISA probe function
  12. *
  13. */
  14. static int el3_eisa_probe ( struct nic *nic, struct eisa_device *eisa ) {
  15. enable_eisa_device ( eisa );
  16. eisa_fill_nic ( nic, eisa );
  17. /* Hand off to generic t5x9 probe routine */
  18. return t5x9_probe ( nic, ISA_PROD_ID ( PROD_ID ), ISA_PROD_ID_MASK );
  19. }
  20. static void el3_eisa_disable ( struct nic *nic, struct eisa_device *eisa ) {
  21. t5x9_disable ( nic );
  22. disable_eisa_device ( eisa );
  23. }
  24. static struct eisa_id el3_eisa_adapters[] = {
  25. { "3Com 3c509 EtherLink III (EISA)", MFG_ID, PROD_ID },
  26. };
  27. EISA_DRIVER ( el3_eisa_driver, el3_eisa_adapters );
  28. DRIVER ( "3c509 (EISA)", nic_driver, eisa_driver, el3_eisa_driver,
  29. el3_eisa_probe, el3_eisa_disable );
  30. ISA_ROM ( "3c509-eisa","3c509 (EISA)" );