IRQ handler rewrite by Gabor Juhos, uses C no longer assembly
[openwrt.git] / target / linux / adm5120-2.6 / files / drivers / net / adm5120sw.h
index e915a41..ed9836e 100644 (file)
@@ -12,7 +12,6 @@
 
 #define SW_BASE        KSEG1ADDR(0x12000000)
 #define SW_DEVS        6
-#define SW_IRQ         9
 
 #define ETH_TX_TIMEOUT HZ/4
 #define ETH_FCS 4;
@@ -69,7 +68,7 @@ struct adm5120_dma {
        u32 status;
 } __attribute__ ((packed));
 
-#define        ADM5120_DMA_MASK        0x00ffffff
+#define        ADM5120_DMA_MASK        0x01ffffff
 #define ADM5120_DMA_OWN                0x80000000      /* buffer owner */
 #define ADM5120_DMA_RINGEND    0x10000000      /* Last in DMA ring */
 
@@ -97,17 +96,10 @@ struct adm5120_sw {
 #define SIOCGMATRIX    SIOCDEVPRIVATE+1
 #define SIOCGADMINFO   SIOCDEVPRIVATE+2
 
-struct adm5120_info {
+struct adm5120_sw_info {
        u16     magic;
        u16     ports;
        u16     vlan;
 };
-#define UNKNOWN 0
-
-#define UBOOT 2
-#define MYLOADER 3
-
-/* Type of boot loader, detected by the prom */
-extern boot_loader_type;
 
 #endif /* _INCLUDE_ADM5120SW_H_ */
This page took 0.028441 seconds and 4 git commands to generate.