aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/net/depca.c
Commit message (Collapse)AuthorAgeFilesLines
* [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.
* Remove *_fill_nic() calls, and directly set nic->ioaddr and nic->irqno .Marty Connor2007-12-131-1/+8
| | | | | | | | | | This needs to be done manually because if the irq() routine is implemented then we want something like "nic->irqno = pci->irqno;", else we do "nic->irqno = 0;" nic->ioaddr may also need to be set carefully. Also added local variables to end of many files, for emacs indentation to match kernel style (tab does 8 space indent).
* Change #warning to FIXME for depcaMarty Connor2007-07-221-1/+1
| | | | | | | | This ancient ISA driver should probably be removed. It is hard to get a card to test it with, and there are comments to the effect that it cannot work with relocation. I would be quite interested to get a bug report by someone who actually has this card.
* Update warnings in depca.c ns8390.cMarty Connor2007-07-041-1/+1
|
* Warnings purge of drivers (continued)Marty Connor2007-07-041-1/+4
|
* Updated ISAPnP, EISA, MCA and ISA buses to current device model.Michael Brown2007-03-101-1/+1
| | | | | | | ISA 3c509 is currently non-functional, although the EISA (3c509-eisa) and MCA (3c529) variants should build OK. None of this code is yet tested.
* eth_ntoa fixupsMarty Connor2006-09-201-6/+4
|
* Synced across updates from Etherboot 5.4 treeMichael Brown2005-05-191-7/+0
|
* Automatically updated withMichael Brown2005-04-261-2/+1
| | | | perl -pi -0777 -e 's/^static struct \w+_driver (\w+) =\s*(\w+_DRIVER \()/${2} ${1},/msg' *.c
* Coerced into actually compiling.Michael Brown2005-04-221-4/+4
|
* Automatically updated with the programMichael Brown2005-04-211-6/+9
| | | | | | | | | | | | | | | | | | | | | | #!/usr/bin/perl -w -pi -0777 use strict; ( my $type ) = /find_(\w+?)_boot_device/ or die "Could not find type\n"; ( my $disable ) = /\.disable\s*=\s*(\w+)/ or die "Could not locate disable\n"; s/(${disable}\s*\(\s*struct\s+nic\s+\*nic)(\s*\)\s*\{)(\s*)/${1}, struct ${type}_device \*${type} __unused${2}${3}nic_disable ( nic );${3}/s; s/(${disable}\s*\(\s*struct\s+nic\s+\*nic)(\s*\)\s*;)/${1}, struct ${type}_device \*${type}${2}/g; s/^\s*.disable\s*=\s*${disable}\s*,\s*?$//m; s/(_probe\s*\(\s*)struct\s+dev\s+\*dev/${1}struct nic \*nic/g; s/^\s*struct\s+nic\s+\*nic\s*=\s*nic_device\s*\(\s*dev\s*\)\s*;\s*?$//m; s/^(\s*)(nic->(ioaddr|irqno)\s*=\s*${type})/${1}${type}_fill_nic ( nic, ${type} );\n${1}${2}/m;
* Make isa_probe_addr a simple integer rather than a struct, to facilitateMichael Brown2005-04-161-3/+3
| | | | specification of ISA_PROBE_ADDRS.
* Updated to new ISA API, but this driver probably has deeper problems.Michael Brown2005-04-141-92/+95
|
* Automatically updated usingMichael Brown2005-04-131-4/+8
| | | | perl -pi -0777 -e 's/^(\s*)dev->disable(\s*)=\s*(\w+)_disable;\s*nic->poll\s*=\s*(\w+);\s*nic->transmit\s*=\s*(\w+);\s*nic->irq\s*=\s*(\w+);/static struct nic_operations ${3}_operations;\nstatic struct nic_operations ${3}_operations = {\n\t.connect\t= dummy_connect,\n\t.poll\t\t= $4,\n\t.transmit\t= $5,\n\t.irq\t\t= $6,\n\t.disable\t= ${3}_disable,\n};${1}nic->nic_op\t= &${3}_operations;/msg' *.c
* Automatically updated usingMichael Brown2005-04-121-3/+1
| | | | | | perl -pi -0777 -e 's/_disable\s*\(\s*struct dev \*dev\s*\)\s*{\s*struct nic \*nic.*?$/_disable ( struct nic *nic ) {/ms' *.c perl -pi -0777 -e 's/_disable\s*\(\s*struct dev \*dev(\s*__unused)?\)\s*{/_disable ( struct nic *nic$1 ) {/ms' *.c
* Merged mcb30-realmode-redesign back to HEADMichael Brown2005-04-081-0/+1
|
* Initial revisionMichael Brown2005-03-081-0/+794