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