Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 714c48f1 authored by Dean Nelson's avatar Dean Nelson Committed by David S. Miller
Browse files

sgi-xp: link XPNET's net_device_ops to its net_device structure



A recent patch by Stephen Hemminger to convert XPNET to use net_device_ops and
internal net_device_stats failed to link the net_device_ops structure to the
net_device structure. See commit e8ac9c55
("xpnet: convert devices to new API").

Signed-off-by: default avatarDean Nelson <dcn@sgi.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a9d3a146
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 1999-2008 Silicon Graphics, Inc. All rights reserved.
 * Copyright (C) 1999-2009 Silicon Graphics, Inc. All rights reserved.
 */

/*
@@ -551,6 +551,7 @@ xpnet_init(void)

	netif_carrier_off(xpnet_device);

	xpnet_device->netdev_ops = &xpnet_netdev_ops;
	xpnet_device->mtu = XPNET_DEF_MTU;

	/*