diff options
author | Michael Brown | 2005-03-08 19:53:11 +0100 |
---|---|---|
committer | Michael Brown | 2005-03-08 19:53:11 +0100 |
commit | 3d6123e69ab879c72ff489afc5bf93ef0b7a94ce (patch) | |
tree | 9f3277569153a550fa8d81ebd61bd88f266eb8da /src/drivers/net/prism2_pci.c | |
download | ipxe-3d6123e69ab879c72ff489afc5bf93ef0b7a94ce.tar.gz ipxe-3d6123e69ab879c72ff489afc5bf93ef0b7a94ce.tar.xz ipxe-3d6123e69ab879c72ff489afc5bf93ef0b7a94ce.zip |
Initial revision
Diffstat (limited to 'src/drivers/net/prism2_pci.c')
-rw-r--r-- | src/drivers/net/prism2_pci.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/drivers/net/prism2_pci.c b/src/drivers/net/prism2_pci.c new file mode 100644 index 00000000..be2b06cc --- /dev/null +++ b/src/drivers/net/prism2_pci.c @@ -0,0 +1,32 @@ +/************************************************************************** +Etherboot - BOOTP/TFTP Bootstrap Program +Prism2 NIC driver for Etherboot +Wrapper for prism2_pci + +Written by Michael Brown of Fen Systems Ltd +$Id$ +***************************************************************************/ + +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2, or (at + * your option) any later version. + */ + +#define WLAN_HOSTIF WLAN_PCI +#include "prism2.c" + +static struct pci_id prism2_pci_nics[] = { +PCI_ROM(0x1260, 0x3873, "prism2_pci", "Harris Semiconductor Prism2.5 clone"), /* Generic Prism2.5 PCI device */ +}; + +static struct pci_driver prism2_pci_driver __pci_driver = { + .type = NIC_DRIVER, + .name = "Prism2_PCI", + .probe = prism2_pci_probe, + .ids = prism2_pci_nics, + .id_count = sizeof(prism2_pci_nics)/sizeof(prism2_pci_nics[0]), + .class = 0, +}; + |