diff options
Diffstat (limited to 'drivers/net/qla3xxx.c')
-rw-r--r-- | drivers/net/qla3xxx.c | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index e82b37bbd6c3..3cdd07c45b6d 100644 --- a/drivers/net/qla3xxx.c +++ b/drivers/net/qla3xxx.c | |||
@@ -38,7 +38,7 @@ | |||
38 | 38 | ||
39 | #define DRV_NAME "qla3xxx" | 39 | #define DRV_NAME "qla3xxx" |
40 | #define DRV_STRING "QLogic ISP3XXX Network Driver" | 40 | #define DRV_STRING "QLogic ISP3XXX Network Driver" |
41 | #define DRV_VERSION "v2.03.00-k4" | 41 | #define DRV_VERSION "v2.03.00-k5" |
42 | #define PFX DRV_NAME " " | 42 | #define PFX DRV_NAME " " |
43 | 43 | ||
44 | static const char ql3xxx_driver_name[] = DRV_NAME; | 44 | static const char ql3xxx_driver_name[] = DRV_NAME; |
@@ -3495,8 +3495,6 @@ static void ql_set_mac_info(struct ql3_adapter *qdev) | |||
3495 | case ISP_CONTROL_FN0_NET: | 3495 | case ISP_CONTROL_FN0_NET: |
3496 | qdev->mac_index = 0; | 3496 | qdev->mac_index = 0; |
3497 | qdev->mac_ob_opcode = OUTBOUND_MAC_IOCB | func_number; | 3497 | qdev->mac_ob_opcode = OUTBOUND_MAC_IOCB | func_number; |
3498 | qdev->tcp_ob_opcode = OUTBOUND_TCP_IOCB | func_number; | ||
3499 | qdev->update_ob_opcode = UPDATE_NCB_IOCB | func_number; | ||
3500 | qdev->mb_bit_mask = FN0_MA_BITS_MASK; | 3498 | qdev->mb_bit_mask = FN0_MA_BITS_MASK; |
3501 | qdev->PHYAddr = PORT0_PHY_ADDRESS; | 3499 | qdev->PHYAddr = PORT0_PHY_ADDRESS; |
3502 | if (port_status & PORT_STATUS_SM0) | 3500 | if (port_status & PORT_STATUS_SM0) |
@@ -3508,8 +3506,6 @@ static void ql_set_mac_info(struct ql3_adapter *qdev) | |||
3508 | case ISP_CONTROL_FN1_NET: | 3506 | case ISP_CONTROL_FN1_NET: |
3509 | qdev->mac_index = 1; | 3507 | qdev->mac_index = 1; |
3510 | qdev->mac_ob_opcode = OUTBOUND_MAC_IOCB | func_number; | 3508 | qdev->mac_ob_opcode = OUTBOUND_MAC_IOCB | func_number; |
3511 | qdev->tcp_ob_opcode = OUTBOUND_TCP_IOCB | func_number; | ||
3512 | qdev->update_ob_opcode = UPDATE_NCB_IOCB | func_number; | ||
3513 | qdev->mb_bit_mask = FN1_MA_BITS_MASK; | 3509 | qdev->mb_bit_mask = FN1_MA_BITS_MASK; |
3514 | qdev->PHYAddr = PORT1_PHY_ADDRESS; | 3510 | qdev->PHYAddr = PORT1_PHY_ADDRESS; |
3515 | if (port_status & PORT_STATUS_SM1) | 3511 | if (port_status & PORT_STATUS_SM1) |
@@ -3730,14 +3726,6 @@ static int ql3xxx_open(struct net_device *ndev) | |||
3730 | return (ql_adapter_up(qdev)); | 3726 | return (ql_adapter_up(qdev)); |
3731 | } | 3727 | } |
3732 | 3728 | ||
3733 | static void ql3xxx_set_multicast_list(struct net_device *ndev) | ||
3734 | { | ||
3735 | /* | ||
3736 | * We are manually parsing the list in the net_device structure. | ||
3737 | */ | ||
3738 | return; | ||
3739 | } | ||
3740 | |||
3741 | static int ql3xxx_set_mac_address(struct net_device *ndev, void *p) | 3729 | static int ql3xxx_set_mac_address(struct net_device *ndev, void *p) |
3742 | { | 3730 | { |
3743 | struct ql3_adapter *qdev = (struct ql3_adapter *)netdev_priv(ndev); | 3731 | struct ql3_adapter *qdev = (struct ql3_adapter *)netdev_priv(ndev); |
@@ -4007,7 +3995,11 @@ static int __devinit ql3xxx_probe(struct pci_dev *pdev, | |||
4007 | ndev->open = ql3xxx_open; | 3995 | ndev->open = ql3xxx_open; |
4008 | ndev->hard_start_xmit = ql3xxx_send; | 3996 | ndev->hard_start_xmit = ql3xxx_send; |
4009 | ndev->stop = ql3xxx_close; | 3997 | ndev->stop = ql3xxx_close; |
4010 | ndev->set_multicast_list = ql3xxx_set_multicast_list; | 3998 | /* ndev->set_multicast_list |
3999 | * This device is one side of a two-function adapter | ||
4000 | * (NIC and iSCSI). Promiscuous mode setting/clearing is | ||
4001 | * not allowed from the NIC side. | ||
4002 | */ | ||
4011 | SET_ETHTOOL_OPS(ndev, &ql3xxx_ethtool_ops); | 4003 | SET_ETHTOOL_OPS(ndev, &ql3xxx_ethtool_ops); |
4012 | ndev->set_mac_address = ql3xxx_set_mac_address; | 4004 | ndev->set_mac_address = ql3xxx_set_mac_address; |
4013 | ndev->tx_timeout = ql3xxx_tx_timeout; | 4005 | ndev->tx_timeout = ql3xxx_tx_timeout; |
@@ -4040,9 +4032,6 @@ static int __devinit ql3xxx_probe(struct pci_dev *pdev, | |||
4040 | 4032 | ||
4041 | ndev->tx_queue_len = NUM_REQ_Q_ENTRIES; | 4033 | ndev->tx_queue_len = NUM_REQ_Q_ENTRIES; |
4042 | 4034 | ||
4043 | /* Turn off support for multicasting */ | ||
4044 | ndev->flags &= ~IFF_MULTICAST; | ||
4045 | |||
4046 | /* Record PCI bus information. */ | 4035 | /* Record PCI bus information. */ |
4047 | ql_get_board_info(qdev); | 4036 | ql_get_board_info(qdev); |
4048 | 4037 | ||