Commit Graph

1370 Commits

Author SHA1 Message Date
jkh
5cb4a01018 Ignore SIGPIPE by default.
Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
PR:		13900
2000-01-04 04:31:29 +00:00
jkh
1a4e8a1971 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
wpaul
b39a79861d 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
dcs
f39fe09d78 configSamba is gone, and is not coming back. 1999-12-23 10:16:46 +00:00
jkh
b71f510e43 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
dcs
aac552da07 configApache does not exist anymore.
PR:		9582
Submitted by:	Stephan Lagerholm <istephan@unilog.se>
1999-12-20 19:22:57 +00:00
jkh
b4b3bd7bb3 Whoops, this function is supposed to return a boolean status, not
flags.
1999-12-20 00:16:10 +00:00
jkh
81c7927f94 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
jkh
1d70a13d49 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
jkh
0745b20d3b D'oh! Inserted a clear() in a *very* wrong place with my last commit. 1999-12-19 20:41:06 +00:00
jkh
271f076406 Bah, I got the MFC and this commit backwards. :) 1999-12-19 19:42:02 +00:00
jkh
d686cb2f42 MFC: can't stop tweaking this compulsively. 1999-12-19 07:02:46 +00:00
jkh
b844608749 cosmetics missed in last commit. 1999-12-19 06:50:44 +00:00
jkh
bead2e7139 More cosmetic surgery and a nasty null pointer bug in index.c fixed. 1999-12-19 06:34:22 +00:00
jkh
a9a9f9ac90 Be paranoid about refreshing after an action. 1999-12-19 04:06:46 +00:00
jkh
0b50cdfa85 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
jkh
597529e0d5 Add more strategic screen clears 1999-12-18 02:29:24 +00:00
jkh
47050d6c13 Better screen handling in X desktop setup.
Don't get cute with nested dialogs now.
1999-12-18 02:04:02 +00:00
jkh
d42718b143 Add another strategic screen clear. 1999-12-17 03:00:28 +00:00
jkh
38d1286e58 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
jkh
ec81652781 Bump default root size to 50MB on i386 (70MB on Alpha).
Requested incessantly by:	billf
1999-12-17 02:02:51 +00:00
jkh
b8ea83e2b2 Properly disable COMPAT_3X for alpha. 1999-12-15 18:55:27 +00:00
jkh
61075c3a9d Put up some more helpful dialog boxes.
Adjust some text to make more sense.
1999-12-15 01:30:52 +00:00
jkh
d3944eb60a 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
jkh
003a13cc32 Make kerberos4 conditional. 1999-12-14 00:47:23 +00:00
jkh
64485eb0e0 Conditionalize kerberos4 to keep sources in sync. 1999-12-14 00:44:05 +00:00
jkh
5dc2695cfc 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
phk
3eeb449d9b Remove references to ze and zp drivers. 1999-12-10 10:55:27 +00:00
sos
4325fd42a3 Remove sysinstall knowledge of the wd based devices.. 1999-12-08 09:51:00 +00:00
wpaul
cdd3a692fe Add the if_dc driver and remove all of the al, ax, dm, pn and mx drivers
which it replaces. The new driver supports all of the chips supported
by the ones it replaces, as well as many DEC/Intel 21143 10/100 cards.

This also completes my quest to convert things to miibus and add
Alpha support.
1999-12-04 17:41:31 +00:00
jkh
3a6c57f929 Allow 2 more characters for Mike's long device names. 1999-12-02 02:55:57 +00:00
jkh
bb805ad2b2 We need COMPAT3X for both i386 and alpha, not just i386. 1999-12-02 01:54:15 +00:00
jkh
4a057a0516 Don't make the failure of a LOCAL dist a reported error.
If we're running 4.x and install X, auto-select COMPAT3X.
1999-12-01 01:34:33 +00:00
msmith
4ec4627632 Add support for the AMI MegaRAID and Mylex drivers to sysinstall.
There are reports that installs to these controllers still don't
work, but this is at least one step closer.
1999-11-27 21:33:04 +00:00
roberto
5fe7d47a40 Add ftp.nz.freebsd.org to the list of available FTP sites.
Submitted by:	"Dan Langille" <dan@freebsddiary.org>
1999-11-27 16:02:08 +00:00
phk
21243bc5b9 Remove BAD144 support. 1999-11-27 14:33:07 +00:00
jkh
4edd65bbda minor bugfix to loader.conf code. 1999-11-25 17:56:00 +00:00
jkh
8a92380eef Clean up the loader.conf write-out code. 1999-11-24 09:45:36 +00:00
jkh
32c2b8dfa2 Update for new doc paths.
Submitted by:	Martin Kammerhofer <mkamm@gmx.net>
PR:		15020
1999-11-21 22:04:13 +00:00
obrien
31081e234a Don't ask about SCO/IBSC2 binary support on the Alpha. 1999-11-18 03:03:01 +00:00
sos
6c56f82668 Add devices from the ATA driver (ad, acd, afd, ast). 1999-11-09 19:10:15 +00:00
jkh
af24dd0170 Add the latest categories. 1999-11-08 16:23:34 +00:00
jkh
8417239202 Defensive coding to prevent a potential segfault.
PR:		14706
Submitted by:	ru
1999-11-08 16:19:25 +00:00
jkh
4f4156cb29 Allow distributions to be excluded more easily in scripts.
Submitted by:	Brian Dean <brdean@unx.sas.com>
1999-11-08 11:51:57 +00:00
jkh
1ac5d40f33 Make sure modes on new skeleton files are correct. 1999-11-05 11:04:30 +00:00
jkh
244183965b Really fix the auto keyword botch correctly by just letting it
do its job and not override it when set.

Submitted by:		Ruslan Ermilov <ru@FreeBSD.org>
1999-10-05 10:10:42 +00:00
peter
3021933a6c Use sigemptyset rather than sa_mask = 0.
Submitted by:	"John W. DeBoskey" <jwd@unx.sas.com>
1999-09-30 19:55:00 +00:00
jkh
da8f96a0d6 Sigh, too many late nights! 1999-09-30 08:32:35 +00:00
jkh
ef811049fd Oh bollocks, I really screwed up the "auto" check here. Time
to crack the K&R; I must have forgotten the C language. :)

Embarrassingly noticed by:	Howard Gutch <logix@foobar.franken.de>
1999-09-27 21:48:28 +00:00
wpaul
ef2bc702ac Spruce up the ADMtek driver: conver to newbus, miibus and add support
for the AN985 "Centaur" chip, which is apparently the next genetation
of the "Comet." The AN985 is also a tulip clone and is similar to the
AL981 except that it uses a 99C66 EEPROM and a serial MII interface
(instead of direct access to the PHY registers).

Also updated various documentation to mention the AN985 and created
a loadable module.

I don't think there are any cards that use this chip on the market yet:
the datasheet I got from ADMtek has boxes with big X's in them where the
diagrams should be, and the sample boards I got have chips without any
artwork on them.
1999-09-22 05:07:51 +00:00