summaryrefslogtreecommitdiffstats
path: root/src/drivers
Commit message (Collapse)AuthorAgeFilesLines
...
* bus header files must include dev.h to get struct dev.Michael Brown2005-04-143-3/+0Star
|
* Updated to current device API.Michael Brown2005-04-141-20/+20
|
* Tweak API to allow separation of bus-scanning and device-probing logic.Michael Brown2005-04-143-81/+78Star
|
* Split 3c509.c into 3c509.9 and 3c529.c, with shared code in 3c5x9.c.Michael Brown2005-04-144-622/+683
| | | | | Probe mechanisms now use standard EISA and MCA bus methods, with 3c509.c defining a custom ISA bus to handle the 3c509 contention resolution logic.
* Standardised debug mechanism in place now.Michael Brown2005-04-144-43/+12Star
|
* Use the magic of common symbols to allow struct dev to effectively grow atMichael Brown2005-04-143-16/+63
| | | | link time to accommodate whatever bus objects are included.
* Stripped references to variables in C code.Michael Brown2005-04-131-7/+1Star
|
* EISA support now provided by eisa.cMichael Brown2005-04-131-11/+0Star
| | | | MCA support now provided by mca.c
* Extraced from 3c509.cMichael Brown2005-04-131-0/+136
|
* Don't use htons, for compatibility with PCI :(Michael Brown2005-04-131-3/+2Star
|
* Use __bswap_16, since we're not dealing with quantities to go onto the network.Michael Brown2005-04-131-2/+2
|
* htons was used in ISAPnP code just due to ISAPnP storing bytes inMichael Brown2005-04-131-2/+2
| | | | reverse order.
* Created separate isa_ids.h file and a utility function to print out ISAMichael Brown2005-04-131-0/+24
| | | | IDs in a human-readable format.
* Minor fixupsMichael Brown2005-04-131-2/+3
|
* Extracted from 3c509.cMichael Brown2005-04-131-0/+114
|
* Finished by handMichael Brown2005-04-133-113/+104Star
|
* Finished by handMichael Brown2005-04-134-50/+60
|
* Finished by handMichael Brown2005-04-135-91/+101
|
* Finished by handMichael Brown2005-04-139-177/+192
|
* Hand-finishedMichael Brown2005-04-132-30/+37
|
* Hand-finishedMichael Brown2005-04-131-30/+27Star
|
* Automatically updated usingMichael Brown2005-04-1331-144/+272
| | | | 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
* Manual tweaks to get all drivers to follow the "disable, poll, transmit,Michael Brown2005-04-136-4/+6
| | | | irq" pattern.
* Automatically updated usingMichael Brown2005-04-138-14/+14
| | | | | | perl -pi -e 's/(_probe\s*\(\s*struct )dev \*.*?(\s*\);)/${1}dev *dev$2/' *.c perl -pi -e 's/(_disable\s*\(\s*struct )dev \*.*?(\s*\);)/${1}nic *nic$2/' *.c
* Automatically updated usingMichael Brown2005-04-1331-76/+31Star
| | | | | | 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
* Automatically updated usingMichael Brown2005-04-1322-66/+110
| | | | perl -pi -0777 -e 's/_probe\s*\(\s*struct dev \*dev,\s*struct pci_device \*(\w+?)\s*\)\s*{(\s*)struct nic \*nic.*?$/_probe ( struct dev *dev ) {\n${2}struct nic *nic = nic_device ( dev );\n${2}struct pci_device *$1 = pci_device ( dev );/ms' *.c
* Minor regexp tweaks to catch degenerate cases.Michael Brown2005-04-132-16/+8Star
|
* Auto-updated usingMichael Brown2005-04-1323-184/+92Star
| | | | | | perl -pi -0777 -e 's/static struct pci_driver (\w+) __pci_driver = {.*\.name\s*=\s*(\"\S+\").*\.probe\s*=\s*(\w+).*\.ids\s*=\s*(\w+).*\.class\s*=\s*(\w+).*?};/static struct pci_driver $1 =\n\tPCI_DRIVER ( $2, $4, $5 );\n\nBOOT_DRIVER ( $2, $3 );/ms' *.c perl -pi -e 's/(PCI_DRIVER \(.*, )0 \);/${1}PCI_NO_CLASS );/' *.c
* Remove debugging by defaultMichael Brown2005-04-121-2/+0Star
|
* Updated to new device API.Michael Brown2005-04-121-57/+50Star
|
* Fixed up PCI-scanning code to use new PCI interface.Michael Brown2005-04-121-21/+14Star
|
* Make adjust_pci_device global, since many drivers call it.Michael Brown2005-04-121-1/+1
|
* Fix up find_pci_device so that it can be used for scanning for devicesMichael Brown2005-04-121-37/+32Star
| | | | *other* than the main boot device.
* New PCI scan functions now work.Michael Brown2005-04-121-77/+114
|
* New device probing mechanism written, not tested.Michael Brown2005-04-111-0/+126
|
* Moved in functions from old core/pci.c that we want to keep.Michael Brown2005-04-111-0/+144
|
* Almost all information in this file is now obsolete. Writing a new driverMichael Brown2005-04-111-91/+0Star
| | | | | should, with the new build system, just be a case of writing the .c file and dropping it in place in drivers/net. :)
* Merged mcb30-realmode-redesign back to HEADMichael Brown2005-04-0811-22/+35
|
* Initial revisionMichael Brown2005-03-0858-0/+48140