X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fgeekos%2Fne2k.h;h=7f7395c89f4e89dbbcd4406928b669a0db5544f2;hb=3fb8af7e2069d7517b5d6c4fb7dc04b22ddf8396;hp=870add87ad58519636262c3fbfad42eab07e7350;hpb=d822d32e7b44450f3cf3a17b3061dfb0bbb3cfa0;p=palacios.releases.git diff --git a/palacios/include/geekos/ne2k.h b/palacios/include/geekos/ne2k.h index 870add8..7f7395c 100644 --- a/palacios/include/geekos/ne2k.h +++ b/palacios/include/geekos/ne2k.h @@ -60,6 +60,16 @@ #define NE2K_IRQ 11 /* Interrupt channel */ + +/* Physical Address of Network Card */ +#define PHY_ADDR1 0x52 +#define PHY_ADDR2 0x54 +#define PHY_ADDR3 0x00 +#define PHY_ADDR4 0x12 +#define PHY_ADDR5 0x34 +#define PHY_ADDR6 0x58 + + struct NE2K_REGS { uchar_t cr; uchar_t isr; @@ -159,6 +169,8 @@ struct NE2K_Packet_Info { int Init_Ne2k(); int NE2K_Receive(); +int NE2K_Transmit(uint_t size); +int NE2K_Send_Packet(uchar_t *packet, uint_t size); int NE2K_Send(uchar_t src[], uchar_t dest[], uint_t type, uchar_t *data, uint_t size); #endif /* GEEKOS_NE2K_H */