aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/s2io.c')
-rw-r--r--drivers/net/s2io.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
index a285dd734a03..26895de3e264 100644
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -7417,6 +7417,7 @@ s2io_init_nic(struct pci_dev *pdev, const struct pci_device_id *pre)
7417 struct config_param *config; 7417 struct config_param *config;
7418 int mode; 7418 int mode;
7419 u8 dev_intr_type = intr_type; 7419 u8 dev_intr_type = intr_type;
7420 DECLARE_MAC_BUF(mac);
7420 7421
7421 if ((ret = s2io_verify_parm(pdev, &dev_intr_type))) 7422 if ((ret = s2io_verify_parm(pdev, &dev_intr_type)))
7422 return ret; 7423 return ret;
@@ -7720,14 +7721,8 @@ s2io_init_nic(struct pci_dev *pdev, const struct pci_device_id *pre)
7720 sp->product_name, pdev->revision); 7721 sp->product_name, pdev->revision);
7721 DBG_PRINT(ERR_DBG, "%s: Driver version %s\n", dev->name, 7722 DBG_PRINT(ERR_DBG, "%s: Driver version %s\n", dev->name,
7722 s2io_driver_version); 7723 s2io_driver_version);
7723 DBG_PRINT(ERR_DBG, "%s: MAC ADDR: " 7724 DBG_PRINT(ERR_DBG, "%s: MAC ADDR: %s\n",
7724 "%02x:%02x:%02x:%02x:%02x:%02x", dev->name, 7725 dev->name, print_mac(mac, dev->dev_addr));
7725 sp->def_mac_addr[0].mac_addr[0],
7726 sp->def_mac_addr[0].mac_addr[1],
7727 sp->def_mac_addr[0].mac_addr[2],
7728 sp->def_mac_addr[0].mac_addr[3],
7729 sp->def_mac_addr[0].mac_addr[4],
7730 sp->def_mac_addr[0].mac_addr[5]);
7731 DBG_PRINT(ERR_DBG, "SERIAL NUMBER: %s\n", sp->serial_num); 7726 DBG_PRINT(ERR_DBG, "SERIAL NUMBER: %s\n", sp->serial_num);
7732 if (sp->device_type & XFRAME_II_DEVICE) { 7727 if (sp->device_type & XFRAME_II_DEVICE) {
7733 mode = s2io_print_pci_mode(sp); 7728 mode = s2io_print_pci_mode(sp);