#
089d55cc |
| 11-Oct-2022 |
andvar <andvar@NetBSD.org> |
fix typos in log messages s/bus_dmamem_create/bus_dmamap_create/ and s/bus_dmamem_load/bus_dmamap_load/. Inspired by recent similar fixes in OpenBSD.
|
#
848854c6 |
| 04-Sep-2022 |
skrll <skrll@NetBSD.org> |
bge(4): Use BUS_DMA_WAITOK in ring initilization now that it's safe
|
#
74498449 |
| 04-Sep-2022 |
skrll <skrll@NetBSD.org> |
bge(4): fix the MP improvements and improve some more.
- Have two locks sc_core_lock at IPL_NONE and sc_intr_lock at IPL_NET and use appropriately.
- Use stopping flags instead of bge_if_flags so
bge(4): fix the MP improvements and improve some more.
- Have two locks sc_core_lock at IPL_NONE and sc_intr_lock at IPL_NET and use appropriately.
- Use stopping flags instead of bge_if_flags so that bge_if_flags only needs to be protected by the sc_core_lock
- Use ifmedia_init_with_lock and provide the sc_intr_lock. mii operatiions are done from the interrupt handler.
- Fixup locking in bge_detach.
- Rename bge_watchdog to bge_watchdog_tick to avoid confusion with the if_watchdog method.
- Sprinkle some more asserts.
show more ...
|
#
020d4e77 |
| 04-Sep-2022 |
skrll <skrll@NetBSD.org> |
bge(4): use a local variable to make bge_ifmedia initialization pretty.
NFC
|
#
a03c0986 |
| 27-Aug-2022 |
skrll <skrll@NetBSD.org> |
Convert bge_pending_rxintr_change to a bool (from int)
|
#
95edd589 |
| 27-Aug-2022 |
skrll <skrll@NetBSD.org> |
Include headers once (and don't pretend this compiles without INET)
|
#
af53795d |
| 27-Aug-2022 |
skrll <skrll@NetBSD.org> |
Correct the abbreviation of approximately to 'approx.'
|
#
ade8eee1 |
| 25-Aug-2022 |
skrll <skrll@NetBSD.org> |
G/C
|
#
e3b14c10 |
| 19-Aug-2022 |
skrll <skrll@NetBSD.org> |
Make bge_detaching a bool. NFC.
|
#
c310ff8e |
| 19-Aug-2022 |
skrll <skrll@NetBSD.org> |
softc member naming consistency with wm(4). (Taylor made me do it... not really)
|
#
454f87cc |
| 19-Aug-2022 |
skrll <skrll@NetBSD.org> |
Should be checking ifp->if_flags in bge_init and not sc->bge_if_flags.
Spotted by Taylor.
|
#
578a4c08 |
| 14-Aug-2022 |
skrll <skrll@NetBSD.org> |
bge: Use BUS_DMA_WAITOK in attach routines.
|
#
38348fd9 |
| 14-Aug-2022 |
skrll <skrll@NetBSD.org> |
bge: Mirror the bus_dma RX buffer changes in the OpenBSD driver
This change reduces the amount of work done in the interrupt handler.
|
#
6e674b22 |
| 14-Aug-2022 |
skrll <skrll@NetBSD.org> |
Make bge(4) MP safe
This started out as a fix so that LOCKDEBUG wouldn't explode with kernel lock spinout. LOCKDEBUG is too aggressive now and really should be relaxed.
|
#
7bffe964 |
| 14-Aug-2022 |
skrll <skrll@NetBSD.org> |
bge: Fix bge_ring_map bus_dmamap_sync POST{READ,WRITE} operations.
When the range of ring entries wraps around sync from the start of the ring to the last entry.
|
#
8bd50868 |
| 07-Aug-2022 |
skrll <skrll@NetBSD.org> |
Provide and use (when appropriate) a bge_free_jumbo_mem.
|
#
a4529dce |
| 07-Aug-2022 |
skrll <skrll@NetBSD.org> |
Misc tidyup. NFC.
|
#
84199404 |
| 07-Aug-2022 |
skrll <skrll@NetBSD.org> |
Unwrap a long line and remove unecessary brackets. NFC.
|
#
aa122164 |
| 07-Aug-2022 |
skrll <skrll@NetBSD.org> |
Fix the KNF. oops.
|
#
3989d88b |
| 07-Aug-2022 |
skrll <skrll@NetBSD.org> |
whitespace
|
#
ffb2feb2 |
| 07-Aug-2022 |
skrll <skrll@NetBSD.org> |
KNF
|
#
07117d0e |
| 26-Jul-2022 |
skrll <skrll@NetBSD.org> |
Whitespace
|
#
64f6de4e |
| 22-Jul-2022 |
skrll <skrll@NetBSD.org> |
malloc -> kmem.
|
#
d1d04354 |
| 03-Jul-2022 |
skrll <skrll@NetBSD.org> |
*** empty log message ***
|
#
28ebbfe4 |
| 03-Jul-2022 |
skrll <skrll@NetBSD.org> |
KNF
|