Changeset 384 for freebsd-rtl-driver


Ignore:
Timestamp:
Feb 5, 2015, 7:34:52 AM (10 years ago)
Author:
Rick van der Zwet
Message:

Innitial import attempt of if_rtl(4)

Location:
freebsd-rtl-driver
Files:
2 added
3 deleted
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • freebsd-rtl-driver/Makefile

    r267 r384  
    1414
    1515DEBUG_FLAGS= -g
    16 KMOD=   if_mos
     16KMOD=   if_rtl
    1717SRCS=   opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h usbdevs.h \
    1818        miibus_if.h opt_inet.h \
    19         if_mos.c
     19        if_rtl.c
    2020
    2121.include <bsd.kmod.mk>
     
    3232
    3333code:
    34         vim -o /usr/src/sys/dev/usb/net/if_rue.c if_mos.c
     34        vim -o /usr/src/sys/dev/usb/net/if_rue.c if_rtl.c
  • freebsd-rtl-driver/README

    r283 r384  
    11EXPERIMENTAL Beta code, use with care. Active development.
    22
    3 Status: It has been committed to HEAD (r218729).
    4 Target: Get it RELENG_8 to make it into release.
     3Status: Development
     4Target: Get it on 10-STABLE to make it into release.
     5
     6No datasheets available after requests, I quote: ``` Due to company policy, we
     7only release Datasheet to our ODM/OEM ( which have signed a company to company
     8NDA with Realtek ). Please follow the linux source code for porting, thanks.
     9"""
     10
     11Linux reference driver: http://lxr.free-electrons.com/source/drivers/net/usb/r8152.c
    512
    613
    714== INTRO ==
    8 The FreeBSD if_mos.c driver is based on various different sources:
    9 The vendor provided driver at the following URL:
     15The FreeBSD if_rtl.c driver is based on various different sources:
     16
     17The vendor provided information at the following URL:
    1018http://www.moschip.com/data/products/MCS7830/Driver_FreeBSD_7830.tar.gz
    1119
    12 Mixed together with the OpenBSD if_mos.c driver for validation and checking
    13 and the FreeBSD if_reu.c as reference for the USB Ethernet framework.
     20Mixed together with the Linux r8152.c driver for validation and checking
     21and the FreeBSD if_rue.c as reference for the USB Ethernet framework.
    1422
    1523== COMPILE & RUN ==
    16  1. Make sure you got the FreeBSD source (RELENG_8) checked out in /usr/src
     24 1. Make sure you got the FreeBSD source checked out in /usr/src
    1725 2. make load
    1826 3. Driver ready for use (device found is ue0)
Note: See TracChangeset for help on using the changeset viewer.