summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/natsemi.c
Commit message (Collapse)AuthorAgeFilesLines
* [natsemi] Check for ioremap() failuresMichael Brown2014-07-161-0/+5
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [natsemi] Add missing iounmap()Michael Brown2012-07-191-0/+2
| | | | | Reported-by: Thomas Miletich <thomas.miletich@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [natsemi] Replace driver for National Semicondutor NICsMichael Brown2012-04-261-481/+804
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [pci] Make driver PCI ID a property of the PCI deviceMichael Brown2011-02-171-3/+2Star
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [nvo] Allow resizing of non-volatile stored option blocksMichael Brown2011-01-191-1/+1
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [nvo] Remove the non-volatile options fragment listMichael Brown2011-01-111-11/+7Star
| | | | | | | | | Since its implementation several years ago, no driver has used a fragment list containing more than a single fragment. Simplify the NVO core and the drivers that use it by removing the whole concept of the fragment list, and using a simple (address,length) pair instead. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [netdevice] Call netdev_link_[up|down|err]() only while registeredMichael Brown2010-09-051-3/+3
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [build] Rename gPXE to iPXEMichael Brown2010-04-201-11/+11
| | | | | | | | | | | Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [natsemi] Convert stray mmio readl() to pio inl()Stefan Hajnoczi2010-01-251-1/+1
| | | | | | | | | | This driver uses programmed I/O to access hardware registers. There is a stray memory-mapped I/O read on a programmed I/O address. Perhaps this is an artifact of porting the driver. Fix this by converting it to programmed I/O. Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Marty Connor <mdc@etherboot.org>
* [netdevice] Separate out the concept of hardware and link-layer addressesMichael Brown2009-08-121-1/+1
| | | | | | | | | | | The hardware address is an intrinsic property of the hardware, while the link-layer address can be changed at runtime. This separation is exposed via APIs such as PXE and EFI, but is currently elided by gPXE. Expose the hardware and link-layer addresses as separate properties within a net device. Drivers should now fill in hw_addr, which will be used to initialise ll_addr at the time of calling register_netdev().
* [legal] Add a selection of FILE_LICENCE declarationsMichael Brown2009-05-181-0/+2
| | | | | Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
* [pci] Add driver_data field to struct pci_device_idThomas Miletich2009-03-261-1/+1
| | | | | Modified-by: Michael Brown <mcb30@etherboot.org> Signed-off-by: Michael Brown <mcb30@etherboot.org>
* [i386] Change [u]int32_t to [unsigned] int, rather than [unsigned] longMichael Brown2008-11-191-4/+4
| | | | | | This brings us in to line with Linux definitions, and also simplifies adding x86_64 support since both platforms have 2-byte shorts, 4-byte ints and 8-byte long longs.
* [natsemi] Add missing #include <string.h>Michael Brown2008-10-121-0/+1
|
* [ioapi] Remove old io.h file and switch all users over to <gpxe/io.h>Michael Brown2008-10-121-1/+1
|
* [NETDEV] Add notion of link stateMichael Brown2008-04-221-0/+3
| | | | | | | | | | | Add ability for network devices to flag link up/down state to the networking core. Autobooting code will now wait for link-up before attempting DHCP. IPoIB reflects the Infiniband link state as the network device link state (which is not strictly correct; we also need a succesful IPoIB IPv4 broadcast group join), but is probably more informative.
* Modify gPXE core and drivers to work with the new timer subsystemAlexey Zaytsev2008-03-021-1/+1
| | | | Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
* Various warnings fixups for OpenBSD with gcc-3.3.5.Michael Brown2007-12-071-1/+1
|
* Added netdev_nullify to natsemi_remove()Marty Connor2007-11-211-0/+1
|
* Remove unnecessary variable.Marty Connor2007-11-181-2/+1Star
|
* removed type casting from DBG statements.Udayan Kumar2007-07-151-19/+16Star
|
* replaces printf with dbgUdayan Kumar2007-07-151-1/+1
|
* mdc's+nvsUdayan Kumar2007-07-151-683/+336Star
|
* more debuggingUdayan Kumar2007-07-151-4/+8
|
* more debuggingUdayan Kumar2007-07-151-0/+6
|
* added silicon revision numberUdayan Kumar2007-07-151-1/+2
|
* init_fix_upUdayan Kumar2007-07-151-0/+161
|
* added cable magic for 100Mps in natsemiUdayan Kumar2007-07-151-6/+70
|
* duplex setting added to natsemi.cUdayan Kumar2007-07-151-4/+6
|
* more indentation and styling doneUdayan Kumar2007-07-151-98/+114
|
* :xUdayan Kumar2007-07-151-3/+5
|
* no changesUdayan Kumar2007-07-151-1/+0Star
|
* added nat_irq to natsemi.cUdayan Kumar2007-07-151-22/+25
|
* stopped memory leak in natsemi::nat_open()Udayan Kumar2007-07-151-12/+15
|
* Natsemi commented and almost doneUdayan Kumar2007-07-151-78/+106
|
* natsemi.c is workinUdayan Kumar2007-07-151-155/+102Star
|
* irq still not working will have to remove itUdayan Kumar2007-07-151-0/+10
|
* natsemiUdayan Kumar2007-07-151-2/+2
|
* interrupt in natsemiUdayan Kumar2007-07-151-3/+15
|
* enabled interrupt in natsemi.cUdayan Kumar2007-07-151-0/+16
|
* added change log to natsemi.cUdayan Kumar2007-07-151-48/+72
|
* added netdev_tx_complete to natsemi.cUdayan Kumar2007-07-151-0/+6
|
* added endianness to natsemi.Udayan Kumar2007-07-151-0/+1
|
* free_netdev -> netdev_putUdayan Kumar2007-07-151-2/+2
|
* debugging natsemi.cUdayan Kumar2007-07-151-26/+44
|
* added eeprom from rtl8139 but not workingUdayan Kumar2007-07-151-56/+54Star
|
* natsemi now needs eeprom accessUdayan Kumar2007-07-151-5/+10
|
* same as before, but now compiling natsemiUdayan Kumar2007-07-151-25/+28
|
* added polling and transmit. eeprom access still remainingUdayan Kumar2007-07-151-134/+167
|
* skel of new natsemi driver (still in developments)Udayan Kumar2007-07-151-628/+438Star
|