diff options
-rw-r--r-- | drivers/net/ibmveth.c | 4 | ||||
-rw-r--r-- | drivers/net/ibmveth.h | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c index 9bc0f178f24b..ca3bb9f7321b 100644 --- a/drivers/net/ibmveth.c +++ b/drivers/net/ibmveth.c | |||
@@ -754,7 +754,7 @@ static int ibmveth_set_csum_offload(struct net_device *dev, u32 data, | |||
754 | void (*done) (struct net_device *, u32)) | 754 | void (*done) (struct net_device *, u32)) |
755 | { | 755 | { |
756 | struct ibmveth_adapter *adapter = netdev_priv(dev); | 756 | struct ibmveth_adapter *adapter = netdev_priv(dev); |
757 | u64 set_attr, clr_attr, ret_attr; | 757 | unsigned long set_attr, clr_attr, ret_attr; |
758 | long ret; | 758 | long ret; |
759 | int rc1 = 0, rc2 = 0; | 759 | int rc1 = 0, rc2 = 0; |
760 | int restart = 0; | 760 | int restart = 0; |
@@ -1209,7 +1209,7 @@ static int __devinit ibmveth_probe(struct vio_dev *dev, const struct vio_device_ | |||
1209 | long ret; | 1209 | long ret; |
1210 | struct net_device *netdev; | 1210 | struct net_device *netdev; |
1211 | struct ibmveth_adapter *adapter; | 1211 | struct ibmveth_adapter *adapter; |
1212 | u64 set_attr, ret_attr; | 1212 | unsigned long set_attr, ret_attr; |
1213 | 1213 | ||
1214 | unsigned char *mac_addr_p; | 1214 | unsigned char *mac_addr_p; |
1215 | unsigned int *mcastFilterSize_p; | 1215 | unsigned int *mcastFilterSize_p; |
diff --git a/drivers/net/ibmveth.h b/drivers/net/ibmveth.h index d28186948752..ec76ace66c6b 100644 --- a/drivers/net/ibmveth.h +++ b/drivers/net/ibmveth.h | |||
@@ -39,11 +39,11 @@ | |||
39 | #define IbmVethMcastRemoveFilter 0x2UL | 39 | #define IbmVethMcastRemoveFilter 0x2UL |
40 | #define IbmVethMcastClearFilterTable 0x3UL | 40 | #define IbmVethMcastClearFilterTable 0x3UL |
41 | 41 | ||
42 | #define IBMVETH_ILLAN_PADDED_PKT_CSUM 0x0000000000002000ULL | 42 | #define IBMVETH_ILLAN_PADDED_PKT_CSUM 0x0000000000002000UL |
43 | #define IBMVETH_ILLAN_TRUNK_PRI_MASK 0x0000000000000F00ULL | 43 | #define IBMVETH_ILLAN_TRUNK_PRI_MASK 0x0000000000000F00UL |
44 | #define IBMVETH_ILLAN_IPV6_TCP_CSUM 0x0000000000000004ULL | 44 | #define IBMVETH_ILLAN_IPV6_TCP_CSUM 0x0000000000000004UL |
45 | #define IBMVETH_ILLAN_IPV4_TCP_CSUM 0x0000000000000002ULL | 45 | #define IBMVETH_ILLAN_IPV4_TCP_CSUM 0x0000000000000002UL |
46 | #define IBMVETH_ILLAN_ACTIVE_TRUNK 0x0000000000000001ULL | 46 | #define IBMVETH_ILLAN_ACTIVE_TRUNK 0x0000000000000001UL |
47 | 47 | ||
48 | /* hcall macros */ | 48 | /* hcall macros */ |
49 | #define h_register_logical_lan(ua, buflst, rxq, fltlst, mac) \ | 49 | #define h_register_logical_lan(ua, buflst, rxq, fltlst, mac) \ |