Changeset 177


Ignore:
Timestamp:
Sep 3, 2010, 3:22:29 PM (14 years ago)
Author:
Rick van der Zwet
Message:

Also allow writing of own mac if needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd-mos-driver/if_mos.c

    r176 r177  
    172172int mos_reg_write_2(struct mos_softc *, int, int);
    173173int mos_readmac(struct mos_softc *, uint8_t *);
    174 int mos_writemac(struct mos_softc *, u_char *);
     174int mos_writemac(struct mos_softc *, uint8_t *);
    175175int mos_write_mcast(struct mos_softc *, u_char *);
    176176
     
    375375
    376376int
    377 mos_writemac(struct mos_softc *sc, u_char *mac)
     377mos_writemac(struct mos_softc *sc, uint8_t *mac)
    378378{
    379379        struct usb_device_request       req;
     
    989989         * Write MAC address
    990990         */
    991         //mos_writemac(sc, sc->arpcom.ac_enaddr);
     991        mos_writemac(sc, IF_LLADDR(ifp));
    992992
    993993
Note: See TracChangeset for help on using the changeset viewer.