freebsd-dev/release/texts
wpaul 56f680165a This commit adds device driver support for the ADMtek AN986 Pegasus
USB ethernet chip. Adapters that use this chip include the LinkSys
USB100TX. There are a few others, but I'm not certain of their
availability in the U.S. I used an ADMtek eval board for development.
Note that while the ADMtek chip is a 100Mbps device, you can't really
get 100Mbps speeds over USB. Regardless, this driver uses miibus to
allow speed and duplex mode selection as well as autonegotiation.
Building and kldloading the driver as a module is also supported.

Note that in order to make this driver work, I had to make what some
may consider an ugly hack to sys/dev/usb/usbdi.c. The usbd_transfer()
function will use tsleep() for synchronous transfers that don't complete
right away. This is a problem since there are times when we need to
do sync transfers from an interrupt context (i.e. when reading registers
from the MAC via the control endpoint), where tsleep() us a no-no.
My hack allows the driver to have the code poll for transfer completion
subject to the xfer->timeout timeout rather that calling tsleep().
This hack is controlled by a quirk entry and is only enabled for the
ADMtek device.

Now, I'm sure there are a few of you out there ready to jump on me
and suggest some other approach that doesn't involve a busy wait. The
only solution that might work is to handle the interrupts in a kernel
thread, where you may have something resembling a process context that
makes it okay to tsleep(). This is lovely, except we don't have any
mechanism like that now, and I'm not about to implement such a thing
myself since it's beyond the scope of driver development. (Translation:
I'll be damned if I know how to do it.) If FreeBSD ever aquires such
a mechanism, I'll be glad to revisit the driver to take advantage of
it. In the meantime, I settled for what I perceived to be the solution
that involved the least amount of code changes. In general, the hit
is pretty light.

Also note that my only USB test box has a UHCI controller: I haven't
I don't have a machine with an OHCI controller available.

Highlights:

- Updated usb_quirks.* to add UQ_NO_TSLEEP quirk for ADMtek part.
- Updated usbdevs and regenerated generated files
- Updated HARDWARE.TXT and RELNOTES.TXT files
- Updated sysinstall/device.c and userconfig.c
- Updated kernel configs -- device aue0 is commented out by default
- Updated /sys/conf/files
- Added new kld module directory
1999-12-28 02:01:18 +00:00
..
alpha This commit adds device driver support for the ADMtek AN986 Pegasus 1999-12-28 02:01:18 +00:00
i386 This commit adds device driver support for the ADMtek AN986 Pegasus 1999-12-28 02:01:18 +00:00
ABOUT.TXT Correct comment about creating a boot floppy. 1999-12-16 00:36:05 +00:00
ERRATA.TXT State the need to read errata more, um, strongly. 1999-04-08 06:00:01 +00:00
FLOPPIES.TXT Adjust notes to describe new boot floppy scheme. 1999-01-31 12:55:08 +00:00
LAYOUT.TXT Update these files to match current reality. 1999-07-02 17:11:58 +00:00
PCCARD.TXT Added a short README to PC-card boot.flp directory. 1999-07-06 13:07:51 +00:00
README.TXT Update for post 3.2R since this'll be quickly forgotten otherwise. 1999-05-24 23:52:46 +00:00
TROUBLE.TXT Update ThinkPad special mode entry for atkbd0. Add an entry dealing 1999-07-15 19:33:22 +00:00
UPGRADE.TXT Add a warning about the perils of using an older version of sysinstall 1999-12-13 16:30:55 +00:00

   -----------------------------------------
       FreeBSD 4.0  ---  SNAPSHOT Version              ,        ,
   -----------------------------------------          /(        )`
                                                      \ \___   / |
This is a binary snapshot of 4.0-current, the         /- _  `-/  '
(HEAD) branch which is currently moving towards      (/\/ \ \   /\
the follow-on release to 4.0.                        / /   | `    \
                                                     O O   ) /    |
                                                     `-^--'`<     '
                                                    (_.)  _  )   /
                                                     `.___/`    /
                                                       `-----' /
Feedback or offers to help with anything  <----.     __ / __   \
you see in this release are most welcome  <----|====O)))==) \) /====
and should be sent to one of the approp-  <----'    `--' `.__,' \
riate mailing lists - please see the                   |        |
ABOUT.TXT file for more information.                    \       /       /\
                                                   ______( (_  / \______/
                                                 ,'  ,-----'   |
                                                 `--{__________)

TARGET AUDIENCE:
----------------
This release is aimed primarily at early-adopters and the various
other folks who want to get involved with the ongoing development
of FreeBSD and are willing to deal with a few bumps in the road.
We do our best to ensure that each snapshot works as advertised,
but tracking -current is a process which frequently has its off
days.

If you're both technically proficient and know exactly what you're
getting into here (e.g. you've been following -current) then this
snapshot is probably for you.  If you're more interested in doing
business with FreeBSD than in playing with the cutting edge of
technology, however, then 3.x is almost certainly your best bet.


ROAD MAP:
            Most files here are also in the Documentation
                    Menu of the boot floppy

  ERRATA.TXT    Please read this file!  It will tell you where to look
                for the latest information on problems which have been
                found and fixed in this release.

  README.TXT    This file

  ABOUT.TXT     All about FreeBSD, including contact information

  RELNOTES.TXT  Release Notes - what's new & different in this
                release

  LAYOUT.TXT    Information about the layout of the release
                directory.  If you are installing from floppies,
                it is especially important that you
                *read this section!*


  HARDWARE.TXT  Information about the configuration of the
                GENERIC kernel and supported hardware

  INSTALL.TXT   How to make a new installation of FreeBSD
                on your PC using the data you see here

  UPGRADE.TXT   How to upgrade an existing FreeBSD
                installation

  TROUBLE.TXT   Troubleshooting information


o For new installation instructions, see the INSTALL.TXT
  and HARDWARE.TXT files.

o If you are upgrading from a previous FreeBSD version,
  please take a look at UPGRADE.TXT.

o It is also important to check the ERRATA.TXT file for any
  late-breaking issues with this release.  This file contains
  the latest information on upgrade, security or other problems
  that an administrator should be aware of.

For the most up-to-date software along the RELENG_3 branch
(also known as 3.2-stable) which is now proceeding onwards toward
the release of FreeBSD 3.3, please install from:

        ftp://releng3.freebsd.org/pub/FreeBSD/

Or for the latest 4.0-Current (HEAD branch) snapshot releases,
please install from:

        ftp://current.freebsd.org/pub/FreeBSD

If you plan to run either -Stable or -Current you MUST be
subscribed to the appropriate mailing list, either
freebsd-stable or freebsd-current.  For information on
subscribing to either list (or both), send an e-mail to
majordomo@freebsd.org with the following in the body, not
the subject, of the letter as appropriate:

subscribe freebsd-stable
subscribe freebsd-current
end

We hope you enjoy using FreeBSD as much as we enjoyed
creating it!