Commit graph

43178 commits

Author SHA1 Message Date
Bill Fumerola cfa5001489 Fix typo, add $FreeBSD$ 1999-12-03 00:34:26 +00:00
Archie Cobbs 98ca0c27f3 A better version of the previous checkin. If the user specifies
a custom file that could override a FreeBSD file under a different
configuration, but doesn't under this one, give a different warning.
1999-12-03 00:28:06 +00:00
Mike Smith 4226420695 Remove the 'gzip' image activator. We're not using a.out anymore, so save
ourselves just over 8k.
1999-12-03 00:16:20 +00:00
Wes Peters 417c1d79a4 Add Matt Fuller's comment about long-standing x86 bug that allows you
to install Windows.
1999-12-02 23:46:49 +00:00
Archie Cobbs 1e306bb1c6 When specifying additiona user-specified kernel compilation source
files in a 'files.XXX' file, config allows non-FreeBSD source files
with the same name as a FreeBSD source file to override the latter,
and in this situation it issues a warning.

However, if one of the user-specified files is actually a FreeBSD
source file (perhaps your kernel has some custom option that requires
that file), config mistakenly thinks it's a completely new file
and goes ahead and overrides all previous information for that file
(and issues the warning).

Fix this.

With help from:	julian
1999-12-02 23:43:08 +00:00
Warner Losh b152132e64 Print device names for children that fail to detach.
Free child array when we're done with it.

Forgotten by: imp
Submitted by: Nick Hibma <hibma@skylink.it>
1999-12-02 19:51:34 +00:00
Warner Losh b11b638301 Now that pccardc beep actually works, add knob for it in rc.conf/rc.pccard
Submitted by: sanpei@sanpei.org (MIHIRA-san Yoshiro)
1999-12-02 19:48:16 +00:00
Warner Losh 03599baeb2 Make pccardc beep actually work. The kernel was doing the wrong thing
with the beep information it had (like ignoring it).

Submitted by: sanpei@sanpei.org (MIHIRA-san Yoshiro)

Add $FreeBSD$ to pccard_beep.c while I'm here.
1999-12-02 19:46:41 +00:00
Nick Hibma 6501d2cc5d Reserve 138 for usio, the USB sio driver by Doug Ambrisko, Whistle.
Also, change mail address in all case to n_hibma@freebsd.org
1999-12-02 19:45:19 +00:00
Archie Cobbs dcb129d597 Add 'const' to the bpf_filter() and bpf_validate() prototypes.
Remove a stale comment from bpf_validate().
1999-12-02 19:36:05 +00:00
Warner Losh 677c39ac03 Fix typo from last commit.
Noticed by: Maxim Sobolev <sobomax@altavista.net>
1999-12-02 19:31:28 +00:00
Sheldon Hearn 11b34f6783 Reserve #137 for nCipher's nFast PCI hardware cryptographic
accelerator, for which open source drivers are under development,
for John Hartley <john@ncipher.com>.
1999-12-02 17:46:17 +00:00
Nick Hibma 1d7490cce6 In one queue all the TDs (transfer descriptor, packets) for one transfer
are queued.  Traverse the queues vertically and then horizontally.
This means that TDs for one xfer are transmitted back to back until the
first NAK or error condition. Up to now we transmitted a TD per frame
and transmitted the next TD in the next frame.

The old approach is more fair if you have the end of the queue point at
the beginning of the control transfer queue, but also a lot more overhead
due to the fact that the QHs have to be read more often.

The new approach squirts the packets down the line as fast as possible
for one transfer and then does the next one. In the current situation,
with fairly empty USB buses, this is a more sensible approach. We might
have to revisit the scheduler later however.

It speeds up large transfers (Zip drive, Host-To-Host adapters) on UHCI
by a factor of 5 and makes it as fast as OHCI on the bus.

The next problem to solve is the question why the limit is 300kb/s and
not 1000/kb/s (kb == kilobyte).
1999-12-02 16:43:18 +00:00
Sheldon Hearn 9a602acc36 Replace the -q option to pwd_mkdb with a test for PW_SCAN_BIG_IDS in
the environment.  This allows big ID warnings to be suppressed for
vipw and chpass as well.

Since the environment variable test is only performed for callers
of pw_scan() that do not set pw_big_ids_warning, the test can still
be overriden.  Currently, chpass and pwd_mkdb are the only users
of pw_scan() and neither of them overrides the environment variable
test.
1999-12-02 16:39:15 +00:00
Nick Hibma fa930a7361 Add the device_get_children(9) man page. 1999-12-02 16:34:09 +00:00
Nick Hibma 2d876113a8 It's device_add_child*, not bus_add_child*. 1999-12-02 16:31:12 +00:00
Nick Hibma 39e86a12aa Remove check for attached state.
sc = devclass_get_softc(devclass, unit);

doesn't return NULL during attach anymore, and produces the sc,
identical to (for devclass_get_unit(devclass, unit) != NULL that is):

   sc = device_get_softc(devclass_get_unit(devclass, unit));

Reviewed-by:   dfr
1999-12-02 16:30:21 +00:00
Yoshihiro Takahashi a81931f608 Sync with sys/i386/conf/GENERIC revision up to 1.207. 1999-12-02 14:00:28 +00:00
Marcel Moolenaar 5d00a945b6 Make sure DESTDIR is set in the environment of mkioctls. This fixes
the breakage people have encountered at certain times (for example
when the altq_*.h files were removed).

$FreeBSD$ tag added.
1999-12-02 13:47:17 +00:00
Andrew Gallatin a800cdfbb0 mention AlphaServer 1000 and AlphaServer DS20 1999-12-02 13:39:05 +00:00
Matthew N. Dodd abe5426763 Remove the "MCA not supported" from RELNOTES.TXT and add
mention of the various devices that are supported.

Add some text and entry to LINT for 'controller mca0'.

I'd like to turn this option on in GENERIC as well as it
isn't impacting and has a small footprint.
1999-12-02 10:01:06 +00:00
Mike Smith 15e7af3ed4 Updates for 4.x:
- Add AMI and Mylex RAID controllers
 - Reflect the demise of the 'eg' and 'ft' drivers
 - Various minor cleanups
 - Add some initial Microchannel information (this could do with some
   fleshing out)
1999-12-02 09:16:02 +00:00
Jordan K. Hubbard 4b0bfc1904 Correct outdated aic entries.
Submitted by:	Greg Lewis <glewis@trc.adelaide.edu.au>
PR:		15186
1999-12-02 08:25:53 +00:00
Warner Losh 56b212aa47 [[ First attempt used -m /tmp/msg rather than -F /tmp/msg ]]
Kernel portion of pccardc power virtual power interface (it helps me
test).  Patch was originally from mihira-san in message to
freebsd-mobile.  I reworked it a little and tested it here.  He ported
the code originally from PAO.

Submitted by: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
1999-12-02 05:57:50 +00:00
Warner Losh 8622777b8e Forgotten part of pccardc power command 1999-12-02 05:56:36 +00:00
Warner Losh 78944e7259 Implement pccardc power command. This allows one to power off
individual slots at one's whim.  Useful for turning the slots into
card carrying cases, etc.  Patch was originally from mihira-san in
message to freebsd-mobile.  He ported the code originally from PAO.

Submitted by: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
1999-12-02 05:52:58 +00:00
Warner Losh 4ecd5f6e8c /tmp/msg 1999-12-02 05:46:22 +00:00
Daniel C. Sobral 300325c61e Add bus suffix to mii. 1999-12-02 03:48:50 +00:00
Daniel C. Sobral 8bde83d551 Add if_ prefix to network drivers. 1999-12-02 03:47:46 +00:00
Jonathan Lemon c0a929b430 Change the delayed ack time from 200ms to 100ms.
This results in closer behavior to earlier versions, where the fixed
200ms timer actually resulted in a delay anywhere from 1..200ms, with
the average delay being 100ms.

Pointed out by:	 dg
1999-12-02 03:25:19 +00:00
Jonathan Lemon 2ba5960c24 Remove code to select APM version with flags to the apm0 device. This
code has been disabled for the last 4 months.

Prodded into action by:	 n_hibma
1999-12-02 03:13:11 +00:00
Bill Fumerola e49e7bd46f Grammar nit. 1999-12-02 03:01:54 +00:00
Jordan K. Hubbard 50fbef8c45 Allow 2 more characters for Mike's long device names. 1999-12-02 02:55:57 +00:00
Mike Smith 8d0b9687cb Add the AMI MegaRAID and Mylex DAC960 drivers. Installation to arrays
on these controllers is now no different to the process for any other
supported disk controller.
1999-12-02 02:53:08 +00:00
Jordan K. Hubbard fb08130c0d We need COMPAT3X for both i386 and alpha, not just i386. 1999-12-02 01:54:15 +00:00
Jordan K. Hubbard 7cde490ec8 Add the hostname command for dhcp. 1999-12-02 01:52:45 +00:00
Archie Cobbs 3fae25a8a6 Use m_dup() instead of m_copypacket() to duplicate the mbuf chain.
This fixes a bug where if the original packet was modified downstream
of the tee node, then the copy could get modified too.
1999-12-01 23:11:58 +00:00
Archie Cobbs 37438111e1 Eliminate compiler warning. 1999-12-01 22:56:51 +00:00
Archie Cobbs 1c38f2ea70 The functions m_copym() and m_copypacket() return read-only copies,
because in the case of mbuf clusters they only increment the reference
count rather than actually copying the data.

Add comments to this effect, and add a new routine called m_dup() that
returns a real, writable copy of an mbuf chain.

This is preliminary work required for implementing 'ipfw tee'.

Reviewed by:	julian
1999-12-01 22:31:32 +00:00
Archie Cobbs 63e2ac54d1 Add more comments describing how to use parse types and how they work. 1999-12-01 19:41:15 +00:00
Archie Cobbs fa200997c8 Show how to supply a struct ng_cmdlist for (de)asciification
of control messages.

Suggested by:	julian
1999-12-01 19:40:37 +00:00
Kirk McKusick 9f54c05286 Preferentially allocate the first indirect block in the same
cylinder group as the inode. This makes a 15% difference in
read speed for files in the 96K to 500K size range.
1999-12-01 19:33:12 +00:00
Daniel C. Sobral 35d9646783 Add fairings. Do not depend on user actually supplying the arguments
he is supposed to supply.
1999-12-01 18:30:26 +00:00
Sheldon Hearn 98a440967f Cosmetic changes to comments:
* Bring source file references in line with the style used in
	  GENERIC (i.e. src/sys/...).
	* Update outdated source file references.
	* Use proper URL syntax for URLs.
	* Update outdated URLs.

PR:		15194
Submitted by:	jedgar@fxp.org (Chris D. Faulhaber)
1999-12-01 16:25:24 +00:00
Warner Losh 861f505f42 Forgot to commit this in last commit. 1999-12-01 15:45:39 +00:00
Andrew Gallatin dbc58a480c A port of NetBSD's AlphaServer 1000 and 1000A support. Thanks to Cristian
Angelini for allowing me to use his AS1000 to do the port.

Note that this is untested on AlphaServer 1000A hardware.

Reviewed by:	dfr
Tested by:   	Cristian Angelini <chr.ang@biella.alpcom.it>
Obtained From: 	NetBSD
1999-12-01 15:25:04 +00:00
Yoshihiro Takahashi 3e566c6577 The 6th bit of configuration port is not defined on pc98.
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1999-12-01 14:15:30 +00:00
Yoshihiro Takahashi 132b70df15 Sync with sys/isa/sio.c revision 1.276. 1999-12-01 13:40:03 +00:00
Poul-Henning Kamp 66c161915b Initialize type correctly. 1999-12-01 10:20:21 +00:00
Julian Elischer a793b9c097 Add NULL for new entrypoint. 1999-12-01 09:37:28 +00:00