diff options
author | RajithaY <rajithax.yerrumsetty@intel.com> | 2017-04-25 03:31:15 -0700 |
---|---|---|
committer | Rajitha Yerrumchetty <rajithax.yerrumsetty@intel.com> | 2017-05-22 06:48:08 +0000 |
commit | bb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch) | |
tree | ca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/roms/ipxe/src/drivers/net/3c529.c | |
parent | a14b48d18a9ed03ec191cf16b162206998a895ce (diff) |
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to
kvmfornfv repo and make use of the updated latest qemu for the
execution of all testcase
Change-Id: I1280af507a857675c7f81d30c95255635667bdd7
Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/roms/ipxe/src/drivers/net/3c529.c')
-rw-r--r-- | qemu/roms/ipxe/src/drivers/net/3c529.c | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/qemu/roms/ipxe/src/drivers/net/3c529.c b/qemu/roms/ipxe/src/drivers/net/3c529.c deleted file mode 100644 index d68f28ec1..000000000 --- a/qemu/roms/ipxe/src/drivers/net/3c529.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Split out from 3c509.c to make build process more sane - * - */ - -FILE_LICENCE ( BSD2 ); - -#include "etherboot.h" -#include <ipxe/mca.h> -#include <ipxe/isa.h> /* for ISA_ROM */ -#include "nic.h" -#include "3c509.h" - -/* - * Several other pieces of the MCA support code were shamelessly - * borrowed from the Linux kernel source. - * - * MCA support added by Adam Fritzler (mid@auk.cx) - * - * Generalised out of the 3c529 driver and into a bus type by Michael - * Brown <mbrown@fensystems.co.uk> - * - */ - -static int t529_probe ( struct nic *nic, struct mca_device *mca ) { - - /* Retrieve NIC parameters from MCA device parameters */ - nic->ioaddr = ( ( mca->pos[4] & 0xfc ) | 0x02 ) << 8; - nic->irqno = mca->pos[5] & 0x0f; - printf ( "3c529 board found on MCA at %#hx IRQ %d -", - nic->ioaddr, nic->irqno ); - - /* Hand off to generic t5x9 probe routine */ - return t5x9_probe ( nic, MCA_ID ( mca ), 0xffff ); -} - -static void t529_disable ( struct nic *nic, struct mca_device *mca __unused ) { - t5x9_disable ( nic ); -} - -static struct mca_device_id el3_mca_adapters[] = { - { "3Com 3c529 EtherLink III (10base2)", 0x627c }, - { "3Com 3c529 EtherLink III (10baseT)", 0x627d }, - { "3Com 3c529 EtherLink III (test mode)", 0x62db }, - { "3Com 3c529 EtherLink III (TP or coax)", 0x62f6 }, - { "3Com 3c529 EtherLink III (TP)", 0x62f7 }, -}; - -MCA_DRIVER ( t529_driver, el3_mca_adapters ); - -DRIVER ( "3c529", nic_driver, mca_driver, t529_driver, - t529_probe, t529_disable ); - -ISA_ROM( "3c529", "3c529 == MCA 3c509" ); - -/* - * Local variables: - * c-basic-offset: 8 - * c-indent-level: 8 - * tab-width: 8 - * End: - */ |