Michael Brown
df868476e7
Various warnings fixups for OpenBSD with gcc-3.3.5.
17 vuotta sitten
Marty Connor
82a3e80645
Add copyright, clean up comments a bit, remove unnecessary code.
Cleanups for e1000.c.
17 vuotta sitten
Marty Connor
fa0bd77270
Added netdev_nullify to natsemi_remove()
17 vuotta sitten
Michael Brown
de329a36d0
Removed old e1000 driver.
17 vuotta sitten
Marty Connor
83c5a37aae
Added netdev_nullify to natsemi_remove()
17 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Marty Connor
8973caa1e6
Autonegotiation fixes. NIC now autonegotiates to whatever the switch supports.
17 vuotta sitten
Marty Connor
e41550b0ba
A version of the new e1000 driver that transmits.
autonegotiation still needs work. receive is not working yet.
17 vuotta sitten
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 vuotta sitten
Marty Connor
0fea19c398
Introduce files for new e1000 driver
17 vuotta sitten
Marty Connor
8564711c20
Move current e1000 driver files to e1000-old/ directory to avoid collisions
17 vuotta sitten
Marty Connor
9a4ed0f2d5
Remove unnecessary variable.
17 vuotta sitten
Michael Brown
be7d32396f
Added one more PCI ID
17 vuotta sitten
Michael Brown
8069598a99
Add a missing PCI ID that is tested as working.
17 vuotta sitten
Michael Brown
14fb6ba189
Quick and very dirty hack to get r8169 driver working again, prior to
any rewrite.
17 vuotta sitten
Michael Brown
ed5ff61790
Standardise DBG_PRINTF()->DBG(), and remove custom definitions for
DBG_PRINTF() and assert().
17 vuotta sitten
Michael Brown
0f60150c44
Reverted driver/net/mlx_ipoib to clean master state
17 vuotta sitten
Michael Brown
a5ec029d24
First version that works with SELF_INIT!
17 vuotta sitten
Michael Brown
8423b0b109
Gets most of the way through initialisation.
17 vuotta sitten
Michael Brown
def5ae9127
Added sw2hw_mpt
17 vuotta sitten
Michael Brown
da014080f9
INIT_HCA block now matches.
17 vuotta sitten
Michael Brown
57bf8d9905
Seems to get through the ICM mapping process
17 vuotta sitten
Michael Brown
4ea6223f5a
ICM allocation code in place; about to start test-and-compare runs.
17 vuotta sitten
Michael Brown
f20cd6f721
ICM allocation code *should* now be complete.
17 vuotta sitten
Michael Brown
af88f60228
Started with the ICM partitioning code.
17 vuotta sitten
Michael Brown
c818d47e25
Restructured bits of initialisation (not testable at present)
17 vuotta sitten
Michael Brown
dc3165b746
Starting the firmware directly now works.
17 vuotta sitten
Michael Brown
0f62bcaa77
Start migrating the remaining initialisation steps.
17 vuotta sitten
Michael Brown
f3fcb53faf
Don't use the mailboxless version of the HW2SW_CQ command; it seems to
crash the machine.
17 vuotta sitten
Michael Brown
12b4cb964b
Removed more hacks, and adjusted number of queue entries for likely usage.
17 vuotta sitten
Michael Brown
11541b1e01
Remove hacks, and fix leaving the multicast GID.
17 vuotta sitten
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 vuotta sitten
Michael Brown
bdac591726
Some interesting packet corruption happening now.
17 vuotta sitten
Michael Brown
2ed1acb9e9
Broadcast GID is now calculated by IPoIB layer.
17 vuotta sitten
Michael Brown
32a7bbb1e3
Cleaned up some debug messages.
17 vuotta sitten
Michael Brown
ab191e45db
Unicasts seem to be working. :)
17 vuotta sitten
Michael Brown
2209090120
Dead code disabling
17 vuotta sitten
Michael Brown
b3d3814c17
Obtains a response to the get path record!
17 vuotta sitten
Michael Brown
e05a8cd4de
Use pkey table access to determine broadcast GID directly.
17 vuotta sitten
Michael Brown
f6f1f2b7bb
Prepare for adding a metadata queue to IPoIB
17 vuotta sitten
Michael Brown
440e7926fb
Dead code removal
17 vuotta sitten
Michael Brown
4e78a53cf2
IPoIB code separated out to ipoib.c.
17 vuotta sitten
Michael Brown
67836430e6
Read port GID directly using MAD IFC.
17 vuotta sitten
Michael Brown
3c6a6bdc5d
Multicast join now works.
17 vuotta sitten
Michael Brown
96d0c75c00
Now transmits packets on our own allocated IPoIB queue pair. :)
17 vuotta sitten
Michael Brown
4ddb6570f8
Almost working with own-queue allocation.
17 vuotta sitten
Michael Brown
7e85f0d296
create_qp() and destroy_qp() now written (but not tested).
17 vuotta sitten
Michael Brown
251cc84ed6
Started implementing create_qp() and destroy_qp().
17 vuotta sitten
Michael Brown
b21d4ca21e
Revert to dev_priv/owner_priv scheme, rather than container_of; it
makes it easier to put the generic allocation code into infiniband.c
17 vuotta sitten