diff options
Diffstat (limited to 'drivers/net')
| -rw-r--r-- | drivers/net/sis190.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/drivers/net/sis190.c b/drivers/net/sis190.c index 9ea13c09f009..ee32ad26b96c 100644 --- a/drivers/net/sis190.c +++ b/drivers/net/sis190.c | |||
| @@ -347,7 +347,7 @@ static struct { | |||
| 347 | u32 msg_enable; | 347 | u32 msg_enable; |
| 348 | } debug = { -1 }; | 348 | } debug = { -1 }; |
| 349 | 349 | ||
| 350 | MODULE_DESCRIPTION("SiS sis190 Gigabit Ethernet driver"); | 350 | MODULE_DESCRIPTION("SiS sis190/191 Gigabit Ethernet driver"); |
| 351 | module_param(rx_copybreak, int, 0); | 351 | module_param(rx_copybreak, int, 0); |
| 352 | MODULE_PARM_DESC(rx_copybreak, "Copy breakpoint for copy-only-tiny-frames"); | 352 | MODULE_PARM_DESC(rx_copybreak, "Copy breakpoint for copy-only-tiny-frames"); |
| 353 | module_param_named(debug, debug.msg_enable, int, 0); | 353 | module_param_named(debug, debug.msg_enable, int, 0); |
| @@ -1313,12 +1313,15 @@ static void sis190_init_phy(struct net_device *dev, struct sis190_private *tp, | |||
| 1313 | ((mii_status & (BMSR_100FULL | BMSR_100HALF)) ? | 1313 | ((mii_status & (BMSR_100FULL | BMSR_100HALF)) ? |
| 1314 | LAN : HOME) : p->type; | 1314 | LAN : HOME) : p->type; |
| 1315 | tp->features |= p->feature; | 1315 | tp->features |= p->feature; |
| 1316 | } else | 1316 | net_probe(tp, KERN_INFO "%s: %s transceiver at address %d.\n", |
| 1317 | pci_name(tp->pci_dev), p->name, phy_id); | ||
| 1318 | } else { | ||
| 1317 | phy->type = UNKNOWN; | 1319 | phy->type = UNKNOWN; |
| 1318 | 1320 | net_probe(tp, KERN_INFO | |
| 1319 | net_probe(tp, KERN_INFO "%s: %s transceiver at address %d.\n", | 1321 | "%s: unknown PHY 0x%x:0x%x transceiver at address %d\n", |
| 1320 | pci_name(tp->pci_dev), | 1322 | pci_name(tp->pci_dev), |
| 1321 | (phy->type == UNKNOWN) ? "Unknown PHY" : p->name, phy_id); | 1323 | phy->id[0], (phy->id[1] & 0xfff0), phy_id); |
| 1324 | } | ||
| 1322 | } | 1325 | } |
| 1323 | 1326 | ||
| 1324 | static void sis190_mii_probe_88e1111_fixup(struct sis190_private *tp) | 1327 | static void sis190_mii_probe_88e1111_fixup(struct sis190_private *tp) |
