Changeset 8daecd8 in rtems


Ignore:
Timestamp:
Feb 20, 2003, 9:18:14 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
64db6d3
Parents:
bce9f3b1
Message:

2003-02-20 Till Straumann <strauman@…>

PR 354/networkign

  • network/if_fxp.c (Intel eepro network driver): re-enabled the chip against a table of supported chips. The untested ones are still commented out, however.
Location:
c/src/libchip
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/ChangeLog

    rbce9f3b1 r8daecd8  
     12003-02-20      Till Straumann <strauman@slac.stanford.edu>
     2
     3        PR 354/networkign
     4        * network/if_fxp.c (Intel eepro network driver): re-enabled the chip
     5        against a table of supported chips. The untested
     6        ones are still commented out, however.
     7
    182003-02-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    29
  • c/src/libchip/network/if_fxp.c

    rbce9f3b1 r8daecd8  
    191191 * them.
    192192 */
     193static struct fxp_ident fxp_ident_table[] = {
    193194#ifdef NOTUSED
    194 static struct fxp_ident fxp_ident_table[] = {
     195        /* currently untested */
    195196    { 0x1229,           "Intel Pro 10/100B/100+ Ethernet" },
    196197    { 0x2449,           "Intel Pro/100 Ethernet" },
     198#endif
    197199    { 0x1209,           "Intel Embedded 10/100 Ethernet" },
     200#ifdef NOTUSED
     201        /* currently untested */
    198202    { 0x1029,           "Intel Pro/100 Ethernet" },
     203#endif
    199204    { 0x1030,           "Intel Pro/100 Ethernet" },
     205#ifdef NOTUSED
     206        /* currently untested */
    200207    { 0x1031,           "Intel Pro/100 Ethernet" },
    201208    { 0x1032,           "Intel Pro/100 Ethernet" },
     
    206213    { 0x1037,           "Intel Pro/100 Ethernet" },
    207214    { 0x1038,           "Intel Pro/100 Ethernet" },
     215#endif
    208216    { 0,                NULL },
    209217};
    210 #endif
    211218
    212219#if 0
     
    457464         * find device on pci bus
    458465         */     
    459         i = pcib_find_by_devid(0x8086,0x1209,unitNumber-1,
    460                                &(sc->pci_signature));
    461         DBGLVL_PRINTK(2,"fxp_attach: find_devid returned %d "
     466    { int j;
     467
     468      for (j=0; fxp_ident_table[j].devid; j++ ) {
     469                i = pcib_find_by_devid( 0x8086,
     470                                                                fxp_ident_table[j].devid,
     471                                                                unitNumber-1,
     472                                                        &(sc->pci_signature));
     473                DBGLVL_PRINTK(2,"fxp_attach: find_devid returned %d "
    462474                      "and pci signature 0x%x\n",
    463475                      i,sc->pci_signature);
     476        if (PCIB_ERR_SUCCESS == i)
     477                        break;
     478          }                     
     479        }
    464480
    465481        /*
Note: See TracChangeset for help on using the changeset viewer.