Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lmc.h
Go to the documentation of this file.
1 #ifndef _LMC_H_
2 #define _LMC_H_
3 
4 #include "lmc_var.h"
5 
6 /*
7  * prototypes for everyone
8  */
9 int lmc_probe(struct net_device * dev);
10 unsigned lmc_mii_readreg(lmc_softc_t * const sc, unsigned
11  devaddr, unsigned regno);
12 void lmc_mii_writereg(lmc_softc_t * const sc, unsigned devaddr,
13  unsigned regno, unsigned data);
14 void lmc_led_on(lmc_softc_t * const, u32);
15 void lmc_led_off(lmc_softc_t * const, u32);
16 unsigned lmc_mii_readreg(lmc_softc_t * const, unsigned, unsigned);
17 void lmc_mii_writereg(lmc_softc_t * const, unsigned, unsigned, unsigned);
18 void lmc_gpio_mkinput(lmc_softc_t * const sc, u32 bits);
19 void lmc_gpio_mkoutput(lmc_softc_t * const sc, u32 bits);
20 
21 int lmc_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
22 
27 
28 #ifdef _DBG_EVENTLOG
29 static void lmcEventLog(u32 EventNum, u32 arg2, u32 arg3);
30 #endif
31 
32 #endif