History log of /openbsd-src/sys/dev/usb/if_mue.c (Results 1 – 12 of 12)
Revision Date Author Comments
# 81508fe3 23-May-2024 jsg <jsg@openbsd.org>

remove unneeded includes; ok mpi@


# 43a723fb 25-Jul-2021 mglocker <mglocker@openbsd.org>

Enable LEDs for the LAN7800 chip, as e.g. found on the
Raspberry Pi 3 Model B+.

ok kevlo@


# f88cb03e 31-Jul-2020 mglocker <mglocker@openbsd.org>

Nuke all occurrences of usbd_abort_pipe() if it gets called right
before usbd_close_pipe(), since usbd_close_pipe() already takes care
about aborting non-empty pipes.

As investigated by gerhard@ usb

Nuke all occurrences of usbd_abort_pipe() if it gets called right
before usbd_close_pipe(), since usbd_close_pipe() already takes care
about aborting non-empty pipes.

As investigated by gerhard@ usbdi.c rev. 1.57 did add usbd_abort_pipe()
to usbd_close_pipe(), but the drivers didn't get cleaned up afterwards.

ok gerhard@

show more ...


# 0cae21bd 10-Jul-2020 patrick <patrick@openbsd.org>

Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.

ok dlg@ tobhe@


# 4ced949b 09-Jun-2020 gerhard <gerhard@openbsd.org>

Do not call encap routines with the IFQ mutex held, as they might
sleep in the stop routine in case of errors.

Fix proposed by mpi@, ok patrick@


# b2e867ab 07-Jul-2019 kevlo <kevlo@openbsd.org>

Eliminate duplicate code in xxx_detach().

ok mpi@


# 8af398f3 06-Jul-2019 kevlo <kevlo@openbsd.org>

Ensure Rx/Tx resources are freed during interface stop.


# bd0c1d2d 19-Sep-2018 mestre <mestre@openbsd.org>

In mue_iff() move the initialization of the hash table up so that is done
unconditionally, like it's done on other devices, so that we don't end up in
the situation of the card being put in promiscuo

In mue_iff() move the initialization of the hash table up so that is done
unconditionally, like it's done on other devices, so that we don't end up in
the situation of the card being put in promiscuous mode or if
ac->ac_multirangecnt > 0 and then we would write into the table while being
uninitialized a little bit later.

Noticed on Coverity ID 1473316.

hint from claudio@ and kettenis@
OK kevlo@ claudio@

show more ...


# a20dd8f5 15-Aug-2018 kevlo <kevlo@openbsd.org>

Introduce mue_eeprom_present to check if the EEPROM is present.
When the EEPROM is not populated, set the MAC config register
MUE_MAC_CR_AUTO_SPEED. While there, encode the MAC address for the onboa

Introduce mue_eeprom_present to check if the EEPROM is present.
When the EEPROM is not populated, set the MAC config register
MUE_MAC_CR_AUTO_SPEED. While there, encode the MAC address for the onboard
USB Ethernet for the Rasperry Pi, like smsc(4) does.

show more ...


# e64b3f5d 04-Aug-2018 jsg <jsg@openbsd.org>

avoid using a value uninitialised
ok kevlo@


# 6838a702 03-Aug-2018 kevlo <kevlo@openbsd.org>

- use memset() for for clearing hashtbl
- the switch case for IFM_100_TX was the same code as for IFM_1000_T so it
can be rolled into one.

From Michael W. Bombardieri


# 77395c04 03-Aug-2018 kevlo <kevlo@openbsd.org>

Add mue(4), a driver for Microchip LAN75xx/LAN78xx 10/100/1000 USB Ethernet
adapters.

"go ahead commit it" deraadt@