Marty Connor
1a867bfb39
Remove *_fill_nic() calls, and directly set nic->ioaddr and nic->irqno .
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).
пре 17 година
Michael Brown
df868476e7
Various warnings fixups for OpenBSD with gcc-3.3.5.
пре 17 година
Marty Connor
82a3e80645
Add copyright, clean up comments a bit, remove unnecessary code.
Cleanups for e1000.c.
пре 17 година
Marty Connor
fa0bd77270
Added netdev_nullify to natsemi_remove()
пре 17 година
Michael Brown
de329a36d0
Removed old e1000 driver.
пре 17 година
Marty Connor
83c5a37aae
Added netdev_nullify to natsemi_remove()
пре 17 година
Marty Connor
2d60a3963f
Fixed receive instability by not enabling interrupts. duh.
I have successfully booted DOS via iSCSI and PXELINUX via TFTP with this
version of the e1000 driver.
пре 17 година
Marty Connor
645a752bc2
This version now transmits and receives.
There may still be an issue with memory handling, since it seems to
die ungracefully when ARP packets come in after loading a kernel.
Something to debug.
пре 17 година
Marty Connor
8973caa1e6
Autonegotiation fixes. NIC now autonegotiates to whatever the switch supports.
пре 17 година
Marty Connor
e41550b0ba
A version of the new e1000 driver that transmits.
autonegotiation still needs work. receive is not working yet.
пре 17 година
Marty Connor
8b0d86914b
Rename e1000_main.c to e1000.c to so we can type 'make bin/e1000.dsk' instead of 'make bin/e1000_main.dsk'
пре 17 година
Marty Connor
0fea19c398
Introduce files for new e1000 driver
пре 17 година
Marty Connor
8564711c20
Move current e1000 driver files to e1000-old/ directory to avoid collisions
пре 17 година
Marty Connor
9a4ed0f2d5
Remove unnecessary variable.
пре 17 година
Michael Brown
be7d32396f
Added one more PCI ID
пре 17 година
Michael Brown
8069598a99
Add a missing PCI ID that is tested as working.
пре 17 година
Michael Brown
14fb6ba189
Quick and very dirty hack to get r8169 driver working again, prior to
any rewrite.
пре 17 година
Michael Brown
ed5ff61790
Standardise DBG_PRINTF()->DBG(), and remove custom definitions for
DBG_PRINTF() and assert().
пре 17 година
Michael Brown
0f60150c44
Reverted driver/net/mlx_ipoib to clean master state
пре 17 година
Michael Brown
a5ec029d24
First version that works with SELF_INIT!
пре 17 година
Michael Brown
8423b0b109
Gets most of the way through initialisation.
пре 17 година
Michael Brown
def5ae9127
Added sw2hw_mpt
пре 17 година
Michael Brown
da014080f9
INIT_HCA block now matches.
пре 17 година
Michael Brown
57bf8d9905
Seems to get through the ICM mapping process
пре 17 година
Michael Brown
4ea6223f5a
ICM allocation code in place; about to start test-and-compare runs.
пре 17 година
Michael Brown
f20cd6f721
ICM allocation code *should* now be complete.
пре 17 година
Michael Brown
af88f60228
Started with the ICM partitioning code.
пре 17 година
Michael Brown
c818d47e25
Restructured bits of initialisation (not testable at present)
пре 17 година
Michael Brown
dc3165b746
Starting the firmware directly now works.
пре 17 година
Michael Brown
0f62bcaa77
Start migrating the remaining initialisation steps.
пре 17 година
Michael Brown
f3fcb53faf
Don't use the mailboxless version of the HW2SW_CQ command; it seems to
crash the machine.
пре 17 година
Michael Brown
12b4cb964b
Removed more hacks, and adjusted number of queue entries for likely usage.
пре 17 година
Michael Brown
11541b1e01
Remove hacks, and fix leaving the multicast GID.
пре 17 година
Michael Brown
267a4483ab
Added an almost obscene amount of debugging and assertion code while
tracking down a bug that turned out to be a free_iob() used where I
needed a netdev_tx_complete(). This left the freed I/O buffer on the
net device's TX list, with bad, bad consequences later.
Also fixed the bug in question.
пре 17 година
Michael Brown
bdac591726
Some interesting packet corruption happening now.
пре 17 година
Michael Brown
2ed1acb9e9
Broadcast GID is now calculated by IPoIB layer.
пре 17 година
Michael Brown
32a7bbb1e3
Cleaned up some debug messages.
пре 17 година
Michael Brown
ab191e45db
Unicasts seem to be working. :)
пре 17 година
Michael Brown
2209090120
Dead code disabling
пре 17 година
Michael Brown
b3d3814c17
Obtains a response to the get path record!
пре 17 година
Michael Brown
e05a8cd4de
Use pkey table access to determine broadcast GID directly.
пре 17 година
Michael Brown
f6f1f2b7bb
Prepare for adding a metadata queue to IPoIB
пре 17 година
Michael Brown
440e7926fb
Dead code removal
пре 17 година
Michael Brown
4e78a53cf2
IPoIB code separated out to ipoib.c.
пре 17 година
Michael Brown
67836430e6
Read port GID directly using MAD IFC.
пре 17 година
Michael Brown
3c6a6bdc5d
Multicast join now works.
пре 17 година
Michael Brown
96d0c75c00
Now transmits packets on our own allocated IPoIB queue pair. :)
пре 17 година
Michael Brown
4ddb6570f8
Almost working with own-queue allocation.
пре 17 година
Michael Brown
7e85f0d296
create_qp() and destroy_qp() now written (but not tested).
пре 17 година
Michael Brown
251cc84ed6
Started implementing create_qp() and destroy_qp().
пре 17 година