Commit Graph

2455 Commits

Author SHA1 Message Date
Jordan K. Hubbard 92a8937368 Only print "couldn't install distributions" popup if any
actual distributions were found to go along with the residual
mask value.
1999-12-29 01:49:11 +00:00
Bill Paul ed63a7aaef 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
Jordan K. Hubbard 5dee218bc4 Sacrifice, for now, NFS and NETGRAPH on the alpha boot floppy
so that we can get it back onto 1.44MB boot media again.  This
does not affect the i386 class build.
1999-12-25 07:22:10 +00:00
Daniel C. Sobral 48d9eeb33a configSamba is gone, and is not coming back. 1999-12-23 10:16:46 +00:00
Poul-Henning Kamp 518aacad79 Don't barf on the releasename symlink in the ftp area on make rerelease. 1999-12-22 18:56:14 +00:00
Jordan K. Hubbard 3446977f16 Fix the brain-o which prevented the Custom installation item from
working.  It was, as I predicted, a stupid bug and thanks to the
submitter for spotting it.  I'll also re-roll some 3.4-RELEASE install
floppies for this.
1999-12-22 01:44:57 +00:00
Daniel C. Sobral 92dd206086 configApache does not exist anymore.
PR:		9582
Submitted by:	Stephan Lagerholm <istephan@unilog.se>
1999-12-20 19:22:57 +00:00
Greg Lehey 301cc81ed3 Install the crunched binaries into /sbin, not /stand. This was
originally done to track down yet another case of lost init, and is
not strictly necessary, but it seems more logical to have binaries in
/sbin than in /stand.  Previously /sbin and /bin were symlinks to
/stand.  Now /bin and /stand are symlinks to /sbin.
1999-12-20 02:16:55 +00:00
Greg Lehey bc702a4474 Add content. This was one of the files that somehow got checked in
empty.  An empty loader.rc will enable the kernel to boot, but it
won't find init (because the MFS file system hasn't been loaded).
1999-12-20 02:15:04 +00:00
Greg Lehey 35bce93fbf Accept a lot of programs from the first floppy.
Reenable build of ppp and ipfw.

Include pccardd.
1999-12-20 02:13:28 +00:00
Greg Lehey b8b1ea6738 Define RELEASE_CRUNCH as a make variable. Previously it was defined
as a preprocessor variable only.  This broke the build of ppp.  This
problem still exists in the old-style directories.

Debugging-help-supplied-by: brian
1999-12-20 02:12:27 +00:00
Greg Lehey 4f8959ac97 Move even more programs to the second floppy as the kernel bloats. 1999-12-20 02:10:55 +00:00
Greg Lehey a06031eb6c Install the crunched binaries into /sbin, not /stand. This was
originally done to track down yet another case of lost init, and is
not strictly necessary, but it seems more logical to have binaries in
/sbin than in /stand.  Previously /sbin and /bin were symlinks to
/stand.  Now /bin and /stand are symlinks to /sbin.
1999-12-20 02:10:16 +00:00
Greg Lehey 4b61b305c0 Handle building individual targets better. It's still broken; the
only way to be sure the build works correctly is to do a 'make all'.
But with these changes, it's easier to test individual targets.  In
particular, ensure that the vnode file systems are mounted before
writing to them.

Ensure that we don't get CVS directories on our floppies.

Use kgzip instead of kzip to compress the loader.  This saves a few
kB.

Remove some test cruft.
1999-12-20 02:07:42 +00:00
Jordan K. Hubbard 126e9198eb Whoops, this function is supposed to return a boolean status, not
flags.
1999-12-20 00:16:10 +00:00
Jordan K. Hubbard 74ffe8004b Do better things with router configuration (use proper display variable,
for one thing - it's router_enable to check, not router).
1999-12-19 22:38:59 +00:00
Jordan K. Hubbard a281594c29 Whoops, I broke the doc browser (not that anyone would notice since nobody
READS the docs, but anyway.. :).  Fix it.
1999-12-19 22:28:41 +00:00
Jordan K. Hubbard 968b30ead8 D'oh! Inserted a clear() in a *very* wrong place with my last commit. 1999-12-19 20:41:06 +00:00
Jordan K. Hubbard e23b011f50 Bah, I got the MFC and this commit backwards. :) 1999-12-19 19:42:02 +00:00
Jordan K. Hubbard 87df92bf9b MFC: can't stop tweaking this compulsively. 1999-12-19 07:02:46 +00:00
Jordan K. Hubbard 793171c689 cosmetics missed in last commit. 1999-12-19 06:50:44 +00:00
Jordan K. Hubbard 8e23f29e15 More cosmetic surgery and a nasty null pointer bug in index.c fixed. 1999-12-19 06:34:22 +00:00
Jordan K. Hubbard f927f0e653 Be paranoid about refreshing after an action. 1999-12-19 04:06:46 +00:00
Warner Losh aa09a81979 Add sn device: smc 91xx based ethernet controllers 1999-12-18 06:23:03 +00:00
Jordan K. Hubbard a322c54678 Yet more cosmetic fixes (I have a little time to kill while waiting for
something else, so I might as well tweak 3.4's look-and-feel for the better
while I'm at it - final release build should be sometime later on tonite).
1999-12-18 03:13:19 +00:00
Jordan K. Hubbard a4415a1c07 Add more strategic screen clears 1999-12-18 02:29:24 +00:00
Jordan K. Hubbard 8932007887 Better screen handling in X desktop setup.
Don't get cute with nested dialogs now.
1999-12-18 02:04:02 +00:00
Jordan K. Hubbard 3b7657d80d Add another strategic screen clear. 1999-12-17 03:00:28 +00:00
Jordan K. Hubbard 61547e027b In retrospect, msgNotify() should leave its contents on the screen
longer to give the user something to look at while things are happening.
Change it to do so and insert the appropriate screen saves elsewhere.
1999-12-17 02:46:04 +00:00
Jordan K. Hubbard 8668fad364 Bump default root size to 50MB on i386 (70MB on Alpha).
Requested incessantly by:	billf
1999-12-17 02:02:51 +00:00
Jordan K. Hubbard b99df5acb5 Correct slight stuff-up in previous patch. 1999-12-16 02:14:30 +00:00
Jordan K. Hubbard bb0ea411a8 Update to use MD disk instead of MFS 1999-12-16 02:08:52 +00:00
Jordan K. Hubbard fcc943bc7f Copy the loader.help file to the boot floppy. 1999-12-16 00:58:58 +00:00
Jordan K. Hubbard d0840ab627 don't mknod stuff without making sure it's not there first. 1999-12-16 00:51:38 +00:00
Jordan K. Hubbard 8b578ecb19 Correct comment about creating a boot floppy.
Submited by:	Jack O'Neill <jack@germanium.xtalwind.net>
1999-12-16 00:36:05 +00:00
Jordan K. Hubbard 149c5b331b Properly disable COMPAT_3X for alpha. 1999-12-15 18:55:27 +00:00
Jordan K. Hubbard bf74f9c166 Put up some more helpful dialog boxes.
Adjust some text to make more sense.
1999-12-15 01:30:52 +00:00
Joerg Wunsch 7f047619e3 Step #2 of fixing the fixit floppy.
Kill duplicates for programs that have been in the boot crunched image
as well as on the fixit floppy (pwd, newfs, hostname, test).  Our
space is really too valuable to have them around there twice.  I doubt
pwd needs to be there at all since it's a builtin into sh(1) anyway
(oh, and the same applies to test(1) IIRC), but heck, leave them by
now.

Use the new `fixit' target in MAKEDEV to create the /dev nodes on
the floppy, instead of including the kitchensink...

Finally, tune the values used for creating the floppy.  I currently
end up with

Filesystem  1K-blocks     Used    Avail Capacity iused   ifree  %iused
/dev/vnn0c       1363     1301      -47   104%     368      14    96%

...which is not quite ideal yet, but at least a working configuration
again.
1999-12-14 22:41:09 +00:00
Hellmuth Michaelis af0f298122 update to isdn4bsd beta release 0.90 1999-12-14 21:14:28 +00:00
David E. O'Brien 5eacf82188 Document `chown's move. 1999-12-14 04:54:55 +00:00
Jordan K. Hubbard 7025aeb16e Completely rip-out and redesign sysinstall's refresh model as well
as redoing all the menus to have proper, or at least non-hallucinogenic,
keyboard accelerators.

This requires my recent update to libdialog to work properly and will
probably also exhibit some other "interesting" behavior while the last
few missing screen clears are found (which is why I'm not going to MFC
immediately).  At least now, however, sysinstall does not gratuitously
redraw random screens at the drop of a hat and drive serial console
installers out of their minds.
1999-12-14 04:25:29 +00:00
Jordan K. Hubbard 883db2a0de Make kerberos4 conditional. 1999-12-14 00:47:23 +00:00
Jordan K. Hubbard 241109ce4f Conditionalize kerberos4 to keep sources in sync. 1999-12-14 00:44:05 +00:00
Sheldon Hearn 3b08a8bbe7 Add a warning about the perils of using an older version of sysinstall
to upgrade to a newer version of FreeBSD.

PR:		12777
Reported by:	wayne@staff.msen.com (Michael R. Wayne)
1999-12-13 16:30:55 +00:00
Chris Piazza 0b96c7476e Extra capital letter in COnsole 1999-12-13 06:08:24 +00:00
Jordan K. Hubbard 80da3ae170 Note that Tekram controllers are supported again.
PR:		15090
Reported by:	Ilmar S. Habibulin <ilmar@ints.ru>
1999-12-12 21:06:44 +00:00
Chris Piazza 40921d4855 sd->da, wd->ad 1999-12-12 19:12:45 +00:00
Matthew Dillon c137e096c2 Add blurb on massive improvements to NFS
Reviewed by:	jkh
1999-12-12 09:53:11 +00:00
Jordan K. Hubbard 404f4d4100 I shouldn't have incremented PART_OFF; it was wrong and broke label
display to boot.  Also fix some various warning fluff while I'm in
here cleaning up.
1999-12-12 04:58:02 +00:00
John Polstra 740ab0e829 Something went wrong with an earlier commit and these files ended up
empty.  Fix that with help from grog.
1999-12-11 15:12:31 +00:00