Go to the documentation of this file.
   35 #define RDP      0x10 // Register Data Port 16Bit 
   36 #define RDP32    0x10 // Register Data Port 32Bit 
   37 #define RAP      0x12 // Register Address Port 16Bit 
   38 #define RAP32    0x14 // Register Address Port 32Bit 
   39 #define RESET    0x14 // Reset Port 16Bit 
   40 #define RESET32  0x18 // Reset Port 32Bit 
   41 #define BDP      0x16 // 16Bit 
   42 #define BDP32    0x1C // 32Bit 
   46 #define BCR18_DWIO 0x0080 
   54 #define MODE_INVALID 3 
   58 #define CSR0_STOP    0x0004 
   62 #define CSR15_DXMTFCS 0x0008 
   63 #define CSR15_DRTY    0x0020 
   64 #define CSR15_PROM    0x8000 
  175 #define NDESC(len2)    (1 << len2) 
  178 #define TRANSBUFSIZE   1518 
  179 #define RECVBUFSIZE    1518 
  182 #define ETHER_ADDR_LEN 6 
  183 #define NE2100_IOSIZE  24 
  185 #define PCNET_VSW      0x18 
  198 #define PCnet_ISAplus   4         
  199 #define PCnet_ISA_II    5         
  202 #define PCnet_PCI_II    8         
  204 #define PCnet_FASTplus  10        
  205 #define PCnet_Home      11        
  232 #define AMD_MASK  0x003 
  233 #define PART_MASK 0xffff 
  234 #define Am79C960  0x0003 
  235 #define Am79C961  0x2260 
  236 #define Am79C961A 0x2261 
  237 #define Am79C965  0x2430 
  238 #define Am79C970  0x0242 
  239 #define Am79C970A 0x2621 
  240 #define Am79C971  0x2623 
  241 #define Am79C972  0x2624 
  242 #define Am79C973  0x2625 
  243 #define Am79C978  0x2626 
  
 
struct hostRingEntry * txRing
struct hostRingEntry * rxRing
int lnc_sendPacket(struct lncInfo *lnc, void *packet, size_t len, uInt8 *dest)
void lnc_reset(struct lncInfo *)
void lnc_reset32(struct lncInfo *)
union hostRingEntry_old::@8 buff
int lnc_driverOwnsRX(struct lncInfo *)
int lnc_switchDWord(struct lncInfo *)
uint16_t lnc_readCSR(struct lncInfo *, uint16_t)
uint32_t lnc_readBCR32(struct lncInfo *, uint32_t)
void lnc_writeCSR32(struct lncInfo *, uint32_t, uint32_t)
int lnc_getMode(struct lncInfo *)
void lnc_writeCSR(struct lncInfo *, uint16_t, uint16_t)
int lncAttach(struct lncInfo *lnc, int unit)
int probe(struct lncInfo *lnc)
int lnc_probe(struct lncInfo *)
int lanceProbe(struct lncInfo *lnc)
uint32_t lnc_readCSR32(struct lncInfo *, uint32_t)
void lnc_writeBCR(struct lncInfo *, uint16_t, uint16_t)
uint16_t lnc_readBCR(struct lncInfo *, uint16_t)
void lnc_writeBCR32(struct lncInfo *, uint32_t, uint32_t)