/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * Copyright (C) 2000-2004 Silicon Graphics, Inc. All rights reserved. */ #ifndef _ASM_IA64_SN_LEDS_H #define _ASM_IA64_SN_LEDS_H #include #include #include #define LED0 (LOCAL_MMR_ADDR(SH_REAL_JUNK_BUS_LED0)) #define LED_CPU_SHIFT 16 #define LED_CPU_HEARTBEAT 0x01 #define LED_CPU_ACTIVITY 0x02 #define LED_ALWAYS_SET 0x00 /* * Basic macros for flashing the LEDS on an SGI SN. */ static __inline__ void set_led_bits(u8 value, u8 mask) { pda->led_state = (pda->led_state & ~mask) | (value & mask); *pda->led_address = (short) pda->led_state; } #endif /* _ASM_IA64_SN_LEDS_H */ href='/cgit.cgi/'>index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-10-20 15:44:19 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-02-15 10:34:18 +0100
commit5db4992d8f040b8d8db0b86d42806e0c417f7ccf (patch)
tree5b06e952af482d45f3ade64e77824662e34b7fa2 /arch/h8300/boot/dts/h8300h_sim.dts
parent370ebb0ef6255132373ed35d13e7b1d8d2eb7003 (diff)
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'arch/h8300/boot/dts/h8300h_sim.dts')