aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sis900.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sis900.c')
-rw-r--r--drivers/net/sis900.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/sis900.c b/drivers/net/sis900.c
index ffdd8591d4bc..581836867098 100644
--- a/drivers/net/sis900.c
+++ b/drivers/net/sis900.c
@@ -832,7 +832,7 @@ static u16 __devinit read_eeprom(long ioaddr, int location)
832 outl(0, ee_addr); 832 outl(0, ee_addr);
833 eeprom_delay(); 833 eeprom_delay();
834 834
835 return (retval); 835 return retval;
836} 836}
837 837
838/* Read and write the MII management registers using software-generated 838/* Read and write the MII management registers using software-generated
@@ -2247,9 +2247,9 @@ static inline u16 sis900_mcast_bitnr(u8 *addr, u8 revision)
2247 2247
2248 /* leave 8 or 7 most siginifant bits */ 2248 /* leave 8 or 7 most siginifant bits */
2249 if ((revision >= SIS635A_900_REV) || (revision == SIS900B_900_REV)) 2249 if ((revision >= SIS635A_900_REV) || (revision == SIS900B_900_REV))
2250 return ((int)(crc >> 24)); 2250 return (int)(crc >> 24);
2251 else 2251 else
2252 return ((int)(crc >> 25)); 2252 return (int)(crc >> 25);
2253} 2253}
2254 2254
2255/** 2255/**