diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-11-26 22:25:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-11-26 22:25:53 +0000 |
commit | 9d7fa71a5176ba81110881d34b2610c83412d505 (patch) | |
tree | c74a2ecac0b593dc4fc7d059639bd84c4016cca2 | |
parent | 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-9d7fa71a5176ba81110881d34b2610c83412d505.tar.bz2 |
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/if_fxp.c: Spacing.
-rw-r--r-- | c/src/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/libchip/network/if_fxp.c | 20 |
2 files changed, 14 insertions, 10 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog index 76619bb231..26f4de6132 100644 --- a/c/src/ChangeLog +++ b/c/src/ChangeLog @@ -1,3 +1,7 @@ +2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com> + + * libchip/network/if_fxp.c: Spacing. + 2007-11-20 Till Straumann <strauman@slac.stanford.edu> * libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h: diff --git a/c/src/libchip/network/if_fxp.c b/c/src/libchip/network/if_fxp.c index 8dbc96c88e..3a2188843d 100644 --- a/c/src/libchip/network/if_fxp.c +++ b/c/src/libchip/network/if_fxp.c @@ -452,21 +452,21 @@ rtems_fxp_attach(struct rtems_bsdnet_ifconfig *config, int attaching) { int j; int pbus, pdev, pfun; for (j=0; fxp_ident_table[j].devid; j++ ) { - i = pci_find_device( 0x8086, fxp_ident_table[j].devid, - unitNumber-1, &pbus, &pdev, &pfun ); - sc->pci_signature = PCIB_DEVSIG_MAKE( pbus, pdev, pfun ); - DBGLVL_PRINTK(2,"fxp_attach: find_devid returned %d " + i = pci_find_device( 0x8086, fxp_ident_table[j].devid, + unitNumber-1, &pbus, &pdev, &pfun ); + sc->pci_signature = PCIB_DEVSIG_MAKE( pbus, pdev, pfun ); + DBGLVL_PRINTK(2,"fxp_attach: find_devid returned %d " "and pci signature 0x%x\n", i,sc->pci_signature); - if (PCIB_ERR_SUCCESS == i) { - if ( UNTESTED == fxp_ident_table[j].warn ) { - device_printf(dev, + if (PCIB_ERR_SUCCESS == i) { + if ( UNTESTED == fxp_ident_table[j].warn ) { + device_printf(dev, "WARNING: this chip version has NOT been reported to work under RTEMS yet.\n"); - device_printf(dev, + device_printf(dev, " If it works OK, report it as tested in 'c/src/libchip/network/if_fxp.c'\n"); - } + } break; - } + } } } |