|
25 | 25 | #include "bnxt_hwrm.h" |
26 | 26 | #include "bnxt_ulp.h" |
27 | 27 |
|
28 | | -static int bnxt_register_dev(struct bnxt_en_dev *edev, int ulp_id, |
| 28 | +static int bnxt_register_dev(struct bnxt_en_dev *edev, unsigned int ulp_id, |
29 | 29 | struct bnxt_ulp_ops *ulp_ops, void *handle) |
30 | 30 | { |
31 | 31 | struct net_device *dev = edev->net; |
@@ -62,7 +62,7 @@ static int bnxt_register_dev(struct bnxt_en_dev *edev, int ulp_id, |
62 | 62 | return 0; |
63 | 63 | } |
64 | 64 |
|
65 | | -static int bnxt_unregister_dev(struct bnxt_en_dev *edev, int ulp_id) |
| 65 | +static int bnxt_unregister_dev(struct bnxt_en_dev *edev, unsigned int ulp_id) |
66 | 66 | { |
67 | 67 | struct net_device *dev = edev->net; |
68 | 68 | struct bnxt *bp = netdev_priv(dev); |
@@ -115,7 +115,7 @@ static void bnxt_fill_msix_vecs(struct bnxt *bp, struct bnxt_msix_entry *ent) |
115 | 115 | } |
116 | 116 | } |
117 | 117 |
|
118 | | -static int bnxt_req_msix_vecs(struct bnxt_en_dev *edev, int ulp_id, |
| 118 | +static int bnxt_req_msix_vecs(struct bnxt_en_dev *edev, unsigned int ulp_id, |
119 | 119 | struct bnxt_msix_entry *ent, int num_msix) |
120 | 120 | { |
121 | 121 | struct net_device *dev = edev->net; |
@@ -179,7 +179,7 @@ static int bnxt_req_msix_vecs(struct bnxt_en_dev *edev, int ulp_id, |
179 | 179 | return avail_msix; |
180 | 180 | } |
181 | 181 |
|
182 | | -static int bnxt_free_msix_vecs(struct bnxt_en_dev *edev, int ulp_id) |
| 182 | +static int bnxt_free_msix_vecs(struct bnxt_en_dev *edev, unsigned int ulp_id) |
183 | 183 | { |
184 | 184 | struct net_device *dev = edev->net; |
185 | 185 | struct bnxt *bp = netdev_priv(dev); |
@@ -233,7 +233,7 @@ int bnxt_get_ulp_stat_ctxs(struct bnxt *bp) |
233 | 233 | return 0; |
234 | 234 | } |
235 | 235 |
|
236 | | -static int bnxt_send_msg(struct bnxt_en_dev *edev, int ulp_id, |
| 236 | +static int bnxt_send_msg(struct bnxt_en_dev *edev, unsigned int ulp_id, |
237 | 237 | struct bnxt_fw_msg *fw_msg) |
238 | 238 | { |
239 | 239 | struct net_device *dev = edev->net; |
@@ -447,7 +447,7 @@ void bnxt_ulp_async_events(struct bnxt *bp, struct hwrm_async_event_cmpl *cmpl) |
447 | 447 | rcu_read_unlock(); |
448 | 448 | } |
449 | 449 |
|
450 | | -static int bnxt_register_async_events(struct bnxt_en_dev *edev, int ulp_id, |
| 450 | +static int bnxt_register_async_events(struct bnxt_en_dev *edev, unsigned int ulp_id, |
451 | 451 | unsigned long *events_bmap, u16 max_id) |
452 | 452 | { |
453 | 453 | struct net_device *dev = edev->net; |
|
0 commit comments