aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:23:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:42 -0500
commit91744948659a5cf937a9094f50f09c412656ca4a (patch)
tree7bb678a90e7d9fcb37c6322cde46e3aa993d68c4 /drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
parent2109eaab72cf95cbb2af51253b46a72e4f2180c9 (diff)
cxgb4: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Dimitris Michailidis <dm@chelsio.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/t4_hw.c')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/t4_hw.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
index 730ae2cfa49..8ea773630d1 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
@@ -2003,7 +2003,7 @@ void t4_tp_wr_bits_indirect(struct adapter *adap, unsigned int addr,
2003 * 2003 *
2004 * Initialize the congestion control parameters. 2004 * Initialize the congestion control parameters.
2005 */ 2005 */
2006static void __devinit init_cong_ctrl(unsigned short *a, unsigned short *b) 2006static void init_cong_ctrl(unsigned short *a, unsigned short *b)
2007{ 2007{
2008 a[0] = a[1] = a[2] = a[3] = a[4] = a[5] = a[6] = a[7] = a[8] = 1; 2008 a[0] = a[1] = a[2] = a[3] = a[4] = a[5] = a[6] = a[7] = a[8] = 1;
2009 a[9] = 2; 2009 a[9] = 2;
@@ -3440,7 +3440,7 @@ int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl)
3440 return 0; 3440 return 0;
3441} 3441}
3442 3442
3443static void __devinit get_pci_mode(struct adapter *adapter, 3443static void get_pci_mode(struct adapter *adapter,
3444 struct pci_params *p) 3444 struct pci_params *p)
3445{ 3445{
3446 u16 val; 3446 u16 val;
@@ -3460,7 +3460,7 @@ static void __devinit get_pci_mode(struct adapter *adapter,
3460 * Initializes the SW state maintained for each link, including the link's 3460 * Initializes the SW state maintained for each link, including the link's
3461 * capabilities and default speed/flow-control/autonegotiation settings. 3461 * capabilities and default speed/flow-control/autonegotiation settings.
3462 */ 3462 */
3463static void __devinit init_link_config(struct link_config *lc, 3463static void init_link_config(struct link_config *lc,
3464 unsigned int caps) 3464 unsigned int caps)
3465{ 3465{
3466 lc->supported = caps; 3466 lc->supported = caps;
@@ -3485,7 +3485,7 @@ int t4_wait_dev_ready(struct adapter *adap)
3485 return t4_read_reg(adap, PL_WHOAMI) != 0xffffffff ? 0 : -EIO; 3485 return t4_read_reg(adap, PL_WHOAMI) != 0xffffffff ? 0 : -EIO;
3486} 3486}
3487 3487
3488static int __devinit get_flash_params(struct adapter *adap) 3488static int get_flash_params(struct adapter *adap)
3489{ 3489{
3490 int ret; 3490 int ret;
3491 u32 info; 3491 u32 info;
@@ -3521,7 +3521,7 @@ static int __devinit get_flash_params(struct adapter *adap)
3521 * values for some adapter tunables, take PHYs out of reset, and 3521 * values for some adapter tunables, take PHYs out of reset, and
3522 * initialize the MDIO interface. 3522 * initialize the MDIO interface.
3523 */ 3523 */
3524int __devinit t4_prep_adapter(struct adapter *adapter) 3524int t4_prep_adapter(struct adapter *adapter)
3525{ 3525{
3526 int ret; 3526 int ret;
3527 3527
@@ -3549,7 +3549,7 @@ int __devinit t4_prep_adapter(struct adapter *adapter)
3549 return 0; 3549 return 0;
3550} 3550}
3551 3551
3552int __devinit t4_port_init(struct adapter *adap, int mbox, int pf, int vf) 3552int t4_port_init(struct adapter *adap, int mbox, int pf, int vf)
3553{ 3553{
3554 u8 addr[6]; 3554 u8 addr[6];
3555 int ret, i, j = 0; 3555 int ret, i, j = 0;