/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ |
H A D | 3c509-eisa.c | 15 static int el3_eisa_probe ( struct nic *nic, struct eisa_device *eisa ) { argument 18 nic->ioaddr = eisa->ioaddr; 19 nic->irqno = 0; 23 return t5x9_probe ( nic, ISA_PROD_ID ( PROD_ID ), ISA_PROD_ID_MASK ); 26 static void el3_eisa_disable ( struct nic *nic, struct eisa_device *eisa ) { argument 27 t5x9_disable ( nic );
|
H A D | 3c529.c | 11 #include "nic.h" 25 static int t529_probe ( struct nic *nic, struct mca_device *mca ) { argument 28 nic->ioaddr = ( ( mca->pos[4] & 0xfc ) | 0x02 ) << 8; 29 nic->irqno = mca->pos[5] & 0x0f; 31 nic->ioaddr, nic->irqno ); 34 return t5x9_probe ( nic, MCA_ID ( mca ), 0xffff ); 37 static void t529_disable ( struct nic *nic, struc argument [all...] |
H A D | prism2_pci.c | 29 #include <nic.h> 34 static int prism2_pci_probe ( struct nic *nic, struct pci_device *pci ) { argument 40 nic->ioaddr = pci->membase; 41 nic->irqno = 0; 43 return prism2_probe ( nic, hw ); 46 static void prism2_pci_disable ( struct nic *nic ) { 47 prism2_disable ( nic );
|
H A D | prism2_plx.c | 29 #include <nic.h> 91 static int prism2_plx_probe ( struct nic *nic, struct pci_device *pci ) { argument 96 nic->ioaddr = hw->iobase; 97 nic->irqno = 0; 98 return prism2_probe ( nic, hw ); 101 static void prism2_plx_disable ( struct nic *nic ) { 102 prism2_disable ( nic );
|
H A D | legacy.c | 8 #include <nic.h> 22 struct nic nic; variable in typeref:struct:nic 27 struct nic *nic = netdev->priv; local 34 nic->nic_op->transmit ( nic, ( const char * ) ethhdr->h_dest, 42 struct nic *nic = netdev->priv; local 49 nic 69 struct nic *nic = netdev->priv; local 82 legacy_probe( void *hwdev, void ( * set_drvdata ) ( void *hwdev, void *priv ), struct device *dev, int ( * probe ) ( struct nic *nic, void *hwdev ), void ( * disable ) ( struct nic *nic, void *hwdev ) ) argument 138 legacy_remove( void *hwdev, void * ( * get_drvdata ) ( void *hwdev ), void ( * disable ) ( struct nic *nic, void *hwdev ) ) argument 142 struct nic *nic = netdev->priv; local [all...] |
H A D | 3c5x9.c | 31 #include "nic.h" 40 void t5x9_disable ( struct nic *nic ) { 42 outw(RX_DISABLE, nic->ioaddr + EP_COMMAND); 43 outw(RX_DISCARD_TOP_PACK, nic->ioaddr + EP_COMMAND); 44 while (inw(nic->ioaddr + EP_STATUS) & S_COMMAND_IN_PROGRESS) 46 outw(TX_DISABLE, nic->ioaddr + EP_COMMAND); 47 outw(STOP_TRANSCEIVER, nic->ioaddr + EP_COMMAND); 49 outw(RX_RESET, nic->ioaddr + EP_COMMAND); 50 outw(TX_RESET, nic 135 t509_transmit( struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p) argument 199 t509_poll(struct nic *nic, int retrieve) argument 342 t5x9_probe( struct nic *nic, uint16_t prod_id_check, uint16_t prod_id_mask ) argument [all...] |
H A D | 3c509.c | 280 static int legacy_t509_probe ( struct nic *nic, void *hwdev ) { argument 285 nic->ioaddr = t509->ioaddr; 288 return t5x9_probe ( nic, ISA_PROD_ID ( PROD_ID ), ISA_PROD_ID_MASK ); 291 static void legacy_t509_disable ( struct nic *nic, void *hwdev ) { argument 294 t5x9_disable ( nic );
|
H A D | 3c595.c | 31 #include "nic.h" 68 static void t595_reset(struct nic *nic) argument 112 outb(nic->node_addr[i], BASE + VX_W2_ADDR_0 + i); 166 struct nic *nic, 214 outsw(BASE + VX_W1_TX_PIO_WR_1, nic->node_addr, ETH_ALEN/2); 231 static int t595_poll(struct nic *nic, int retrieve) argument 273 insw(BASE + VX_W1_RX_PIO_RD_1, nic 165 t595_transmit( struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p) argument 473 t595_probe( struct nic *nic, struct pci_device *pci ) argument [all...] |
H A D | cs89x0.c | 93 #include "nic.h" 261 static int send_test_pkt(struct nic *nic) argument 271 memcpy(testpacket, nic->node_addr, ETH_ALEN); 272 memcpy(testpacket+ETH_ALEN, nic->node_addr, ETH_ALEN); 300 static int detect_aui(struct nic *nic) argument 307 if (send_test_pkt(nic)) { 313 static int detect_bnc(struct nic *nic) argument 330 cs89x0_reset(struct nic *nic) argument 389 cs89x0_transmit( struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p) argument 441 cs89x0_poll(struct nic *nic, int retrieve) argument 500 cs89x0_probe( struct nic *nic, struct isa_device *isa __unused ) argument 706 cs89x0_disable( struct nic *nic, struct isa_device *isa __unused ) argument [all...] |
H A D | ne2k_isa.c | 26 #include "nic.h" 40 static void ne_reset(struct nic *nic, struct isa_device *isa); 135 static int ne_probe(struct nic *nic, struct isa_device *isa) { argument 144 nic->irqno = 0; 145 nic->ioaddr = isa->ioaddr; 197 nic->node_addr[i] = romdata[i + ((eth_flags & FLAG_16BIT) ? i : 0)]; 199 nic->ioaddr = eth_nic_base; 202 nic 220 ne_disable(struct nic *nic, struct isa_device *isa) argument 228 ne_reset(struct nic *nic, struct isa_device *isa __unused) argument 337 ne_transmit(struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p) argument [all...] |
H A D | ns8390.c | 42 #include "nic.h" 272 static void ns8390_reset(struct nic *nic) argument 317 outb(nic->node_addr[i], eth_nic_base+D8390_P1_PAR0+i); 342 t503_output = (nic->flags) ? 0 : _3COM_CR_XSEL; 347 static int ns8390_poll(struct nic *nic, int retrieve); 353 static void eth_rx_overrun(struct nic *nic) argument 390 while (ns8390_poll(nic, 403 ns8390_transmit( struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p) argument 502 ns8390_poll(struct nic *nic, int retrieve) argument 631 eth_probe(struct nic *nic, struct pci_device *pci) argument [all...] |
H A D | smc9000.c | 44 #include "nic.h" 615 struct nic *nic, 642 SMC_SELECT_BANK(nic->ioaddr, 2); 643 _outw(MC_ALLOC | numPages, nic->ioaddr + MMU_CMD); 648 status = inb(nic->ioaddr + INTERRUPT); 651 _outb(IM_ALLOC_INT, nic->ioaddr + INTERRUPT); 661 _outw(MC_RESET, nic->ioaddr + MMU_CMD); 666 packet_no = inb(nic->ioaddr + PNR_ARR + 1); 674 _outb(packet_no, nic 614 smc9000_transmit( struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p) argument 756 smc9000_poll(struct nic *nic, int retrieve) argument 795 smc9000_disable( struct nic *nic, struct isa_device *isa __unused ) argument 833 smc9000_probe( struct nic *nic, struct isa_device *isa ) argument [all...] |
H A D | amd8111e.c | 43 #include "nic.h" 113 struct nic *nic; member in struct:amd8111e_priv 228 struct nic *nic = lp->nic; local 267 writeb(nic->node_addr[i], mmio + PADR + i); 391 struct nic *nic = lp->nic; local 531 amd8111e_transmit(struct nic *nic, const char *dst_addr, unsigned int type, unsigned int size, const char *packet) argument 570 amd8111e_poll(struct nic *nic, int retrieve) argument 620 amd8111e_disable(struct nic *nic) argument 637 amd8111e_irq(struct nic *nic, irq_action_t action) argument 661 amd8111e_probe(struct nic *nic, struct pci_device *pdev) argument [all...] |
H A D | davicom.c | 48 #include "nic.h" 158 static int davicom_probe(struct nic *nic,struct pci_device *pci); 159 static void davicom_init_chain(struct nic *nic); /* Sten 10/9 */ 160 static void davicom_reset(struct nic *nic); 161 static void davicom_transmit(struct nic *nic, const char *d, unsigned int t, 163 static int davicom_poll(struct nic *ni 415 davicom_init_chain(struct nic *nic) argument 462 davicom_reset(struct nic *nic) argument 524 davicom_transmit(struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p) argument 565 davicom_poll(struct nic *nic, int retrieve) argument 639 davicom_probe( struct nic *nic, struct pci_device *pci ) argument [all...] |
H A D | epic100.c | 12 #include "nic.h" 54 static void epic100_disable(struct nic *nic); 55 static int epic100_poll(struct nic *nic, int retrieve); 56 static void epic100_transmit(struct nic *nic, const char *destaddr, 62 static void epic100_irq(struct nic *nic, irq_action_t action); 108 epic100_probe ( struct nic *ni argument 305 epic100_transmit(struct nic *nic, const char *destaddr, unsigned int type, unsigned int len, const char *data) argument 375 epic100_poll(struct nic *nic, int retrieve) argument [all...] |
H A D | sis900.c | 51 #include "nic.h" 94 static void sis900_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 95 static void amd79c901_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 96 static void ics1893_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 97 static void rtl8201_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 98 static void vt6103_read_mode(struct nic *ni 180 sis900_get_mac_addr(struct pci_device * pci_dev __unused, struct nic *nic) argument 214 sis96x_get_mac_addr(struct pci_device * pci_dev __unused, struct nic *nic) argument 252 sis630e_get_mac_addr(struct pci_device * pci_dev __unused, struct nic *nic) argument 296 sis635_get_mac_addr(struct pci_device * pci_dev __unused, struct nic *nic) argument 336 sis900_probe( struct nic *nic, struct pci_device *pci ) argument 619 sis900_init(struct nic *nic) argument 681 sis900_init_rxfilter(struct nic *nic) argument 824 sis900_check_mode(struct nic *nic) argument 1104 sis900_transmit(struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p) argument 1183 sis900_poll(struct nic *nic, int retrieve) argument [all...] |
H A D | bnx2.c | 18 #include "nic.h" 1276 u8 *mac_addr = bp->nic->node_addr; 1289 bnx2_set_rx_mode(struct nic *nic __unused) 1834 bnx2_disable(struct nic *nic __unused) 1989 bnx2_set_rx_mode(bp->nic); 2118 bnx2_init_board(struct pci_device *pdev, struct nic *nic) argument 2131 nic 2348 bnx2_transmit(struct nic *nic, const char *dst_addr, unsigned int type, unsigned int size, const char *packet) argument 2492 bnx2_poll(struct nic* nic, int retrieve) argument 2615 bnx2_probe(struct nic *nic, struct pci_device *pdev) argument [all...] |
H A D | prism2.c | 28 #include <nic.h> 610 static int prism2_poll(struct nic *nic, int retrieve) argument 641 /* Fill in nic->packetlen */ 642 nic->packetlen = rxdesc.data_len; 643 if ( nic->packetlen > 0 ) { 644 /* Fill in nic->packet */ 651 nic->packet + ETH_HLEN - sizeof(wlan_80211hdr_t), nic->packetlen); 663 struct nic *ni 662 prism2_transmit( struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p) argument 770 prism2_probe( struct nic *nic, hfa384x_t *hw ) argument [all...] |
H A D | tlan.c | 53 #include "nic.h" 70 static void TLan_ResetLists(struct nic *nic __unused); 71 static void TLan_ResetAdapter(struct nic *nic __unused); 72 static void TLan_FinishReset(struct nic *nic __unused); 79 static void TLan_PhyDetect(struct nic *nic); 80 static void TLan_PhyPowerDown(struct nic *ni 387 TLan_FinishReset(struct nic *nic) argument 500 tlan_poll(struct nic *nic, int retrieve) argument 576 tlan_transmit(struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p) argument 766 TLan_SetMulticastList(struct nic *nic) argument 788 tlan_probe( struct nic *nic, struct pci_device *pci ) argument 1347 TLan_PhyDetect(struct nic *nic) argument 1394 TLan_PhyPowerDown(struct nic *nic) argument 1421 TLan_PhyPowerUp(struct nic *nic) argument 1440 TLan_PhyReset(struct nic *nic) argument 1467 TLan_PhyStartLink(struct nic *nic) argument 1560 TLan_PhyFinishAutoNeg(struct nic *nic) argument [all...] |
/vbox/src/VBox/Devices/PC/ipxe/contrib/rom-o-matic/ |
H A D | build.php | 63 // Make sure at least $nic was supplied 64 if ( ! isset ( $_POST['nic'] ) ) { 67 if ( isset ( $nics[$_POST['nic']] ) ) { 68 $nic = $nics[$_POST['nic']]; variable 70 die ( "Invalid NIC \"${_POST['nic']}\" supplied!" ); 85 if ( $nic == 'undionly' && $fmt_extension == "pxe" ) { variable 119 // concatenate the pci codes to get the $nic part of the 123 $nic = $pci_codes; variable 181 $make_target = "bin/${nic} [all...] |
H A D | utils.php | 122 $nic = ""; variable 134 #list ( $dummy, $nic ) = split( "[ \t]+", $line ); 135 list ( $dummy, $nic ) = explode("\t", $line); 136 settype ( $nic, "string" ); 139 $nic = substr ( $nic, strrpos ( $nic, "/" ) + 1, variable 140 strlen ( $nic ) - strrpos ( $nic, "/" ) + 1 ); 142 $nics[$nic] [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/linux/ |
H A D | tap.c | 60 struct tap_nic * nic = netdev->priv; local 64 nic->fd = linux_open("/dev/net/tun", O_RDWR); 65 if (nic->fd < 0) { 66 DBGC(nic, "tap %p open('/dev/net/tun') = %d (%s)\n", nic, nic->fd, linux_strerror(linux_errno)); 67 return nic->fd; 73 strncpy(ifr.ifr_name, nic->interface, IFNAMSIZ); 74 DBGC(nic, "tap %p interface = '%s'\n", nic, ni 99 struct tap_nic * nic = netdev->priv; local 110 struct tap_nic * nic = netdev->priv; local 126 struct tap_nic * nic = netdev->priv; local 171 struct tap_nic *nic = netdev->priv; local 190 struct tap_nic *nic; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/block/ |
H A D | ibft.c | 65 struct ibft_nic nic __attribute__ (( aligned ( 16 ) )); member in struct:ipxe_ibft 220 * @v nic NIC portion of iBFT 225 static int ibft_fill_nic ( struct ibft_nic *nic, argument 234 nic->header.structure_id = IBFT_STRUCTURE_ID_NIC; 235 nic->header.version = 1; 236 nic->header.length = cpu_to_le16 ( sizeof ( *nic ) ); 237 nic->header.flags = ( IBFT_FL_NIC_BLOCK_VALID | 241 ibft_set_ipaddr_setting ( &nic->ip_address, &ip_setting, 1 ); 242 DBG ( "iBFT NIC IP = %s\n", ibft_ipaddr ( &nic [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/include/ |
H A D | nic.h | 48 struct nic { struct 62 int ( *connect ) ( struct nic * ); 63 int ( *poll ) ( struct nic *, int retrieve ); 64 void ( *transmit ) ( struct nic *, const char *, 66 void ( *irq ) ( struct nic *, irq_action_t ); 69 extern struct nic nic; 72 return nic.nic_op->poll ( &nic, retrieve ); 77 nic [all...] |
/vbox/src/VBox/Main/src-server/ |
H A D | DHCPServerImpl.cpp | 503 ComPtr<INetworkAdapter> nic; local 515 hrc = machine->GetNetworkAdapter(it->first.Slot, nic.asOutParam()); 524 hrc = nic->COMGETTER(MACAddress)(mac.asOutParam());
|