1 # This corrects the type of dev_set_mac_address. The definition (prototype)
2 # was *added* to include/linux/netdevice.h in the 2.6.11 mm patches, so the
3 # change should not harm older builds
4 --- ixp425-eth-1.1-r1/ixp425_eth.c.pre-mm4 2005-03-19 14:02:32.883601440 -0800
5 +++ ixp425-eth-1.1-r1/ixp425_eth.c 2005-03-19 14:03:25.849549392 -0800
6 @@ -2347,12 +2347,11 @@
9 /* set port MAC addr and update the dev struct if successfull */
10 -int dev_set_mac_address(struct net_device *dev, void *addr)
11 +int dev_set_mac_address(struct net_device *dev, struct sockaddr *saddr)
14 priv_data_t *priv = dev->priv;
15 IxEthAccMacAddr npeMacAddr;
16 - struct sockaddr *saddr = (struct sockaddr *)addr;
18 /* Set MAC addr in h/w */
19 memcpy(&npeMacAddr.macAddress,