Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rework gem_start to check that there's enough space in the ring before | 2015-11-28 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | dequeueing a packet, then drop the packet if it can't be sent, rather than using two phase dequeue then commit. Adjust sc_tx_cnt using atomic operations, take the kernel lock before calling gem_start or gem_init from the interrupt handler, and use an interrupt barrier when taking the interface down. With all this done, we can mark the interrupt handler for pci (but not sbus) attached gem(4) as mpsafe. mpi@ wrote this initially, I fixed bugs to keep sparc64 happy and kept it up to date with ifq changes. ok mpi@ dlg@ | ||||
* | You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl. | 2015-11-24 | 1 | -2/+1 | |
| | |||||
* | Fewer <netinet/in_systm.h> | 2014-08-11 | 1 | -5/+1 | |
| | |||||
* | Most network drivers include netinet/in_var.h, but apparently they | 2013-08-07 | 1 | -2/+1 | |
| | | | | | don't have to. Just remove these include lines. Compiled on amd64 i386 sparc64; OK henning@ mikeb@ | ||||
* | Don't attach when the PROM didn't give us an interrupt. Fix printed messages | 2009-07-12 | 1 | -9/+12 | |
| | | | | | | | in error paths while I'm there. Eliminate a fairly useless local variable as well. ok miod@ | ||||
* | Add more initialisation steps (read reset register; pause; set burst size | 2008-11-07 | 1 | -2/+6 | |
| | | | | | | in config register). From NetBSD | ||||
* | First pass at removing clauses 3 and 4 from NetBSD licenses. | 2008-06-26 | 1 | -8/+1 | |
| | | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | ||||
* | Remove commented out NetBSD __KERNEL_RCSID macro usage. | 2008-05-13 | 1 | -6/+1 | |
| | | | | ok dlg@ | ||||
* | nuke sc_enaddr here too | 2006-12-21 | 1 | -3/+3 | |
| | |||||
* | initial stab at an SBus front end for gem(4). currently untested. | 2006-11-25 | 1 | -0/+158 | |
From martin@NetBSD |