m68k: use KBUILD_DEFCONFIG
[linux-2.6/verdex.git] / drivers / net / wan / lmc / lmc.h
blob882e58c1bfd7ed03e62cdfb9c2d6aa7916e0b4b3
1 #ifndef _LMC_H_
2 #define _LMC_H_
4 #include "lmc_var.h"
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, u_int32_t);
15 void lmc_led_off(lmc_softc_t * const, u_int32_t);
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, u_int32_t bits);
19 void lmc_gpio_mkoutput(lmc_softc_t * const sc, u_int32_t bits);
21 int lmc_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
23 extern lmc_media_t lmc_ds3_media;
24 extern lmc_media_t lmc_ssi_media;
25 extern lmc_media_t lmc_t1_media;
26 extern lmc_media_t lmc_hssi_media;
28 #ifdef _DBG_EVENTLOG
29 static void lmcEventLog( u_int32_t EventNum, u_int32_t arg2, u_int32_t arg3 );
30 #endif
32 #endif