Commit Graph

43349 Commits

Author SHA1 Message Date
Marcel Moolenaar
6468017b7f Fix for the new usage of mkioctls 1999-12-03 17:35:34 +00:00
Andrey A. Chernov
e64b191d27 Change -i host to whois.networksolutions.com 1999-12-03 16:56:57 +00:00
Yoshihiro Takahashi
8203d279a0 Supported to sound beep.
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1999-12-03 13:20:55 +00:00
Yoshihiro Takahashi
2fc1b2c314 pc98/pc98/atapi.c
Copied from i386/isa/atapi.c.
	Fixed to support slave devices.
	Ignore the device that has strange model strings.

i386/isa/atapi.c
	Removed pc98 codes.

Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1999-12-03 12:56:21 +00:00
Marcel Moolenaar
e2366ecc70 Avoid hardcoding any paths and variables. The include directory must
now be specified on the command line. Accept a '-s' option which
controls whether a switch-statement is to be used instead of a series
of if-statements.

Replace cpp with gcc -E.

Discussed with: bde
1999-12-03 12:50:02 +00:00
Yoshihiro Takahashi
82a9a36d9f Change splbio() to splcam(). bs is cam driver. 1999-12-03 11:58:12 +00:00
Yoshihiro Takahashi
86a4809ff7 Sync with sys/i386/conf/GENERIC revision 1.208. 1999-12-03 11:40:52 +00:00
Matthew N. Dodd
238ebf9958 Remove mention of 'ivars'. 1999-12-03 11:22:28 +00:00
Julian Elischer
1f8ffa4bca Make the stub routines have the same prototypes as the real bpf
routines.
1999-12-03 09:59:02 +00:00
Matt Jacob
9efed284d5 correct incomplete last change 1999-12-03 09:10:04 +00:00
Matthew N. Dodd
fe0d408987 Remove the 'ivars' arguement to device_add_child() and
device_add_child_ordered().  'ivars' may now be set using the
device_set_ivars() function.

This makes it easier for us to change how arbitrary data structures are
associated with a device_t.  Eventually we won't be modifying device_t
to add additional pointers for ivars, softc data etc.

Despite my best efforts I've probably forgotten something so let me know
if this breaks anything.  I've been running with this change for months
and its been quite involved actually isolating all the changes from
the rest of the local changes in my tree.

Reviewed by:	peter, dfr
1999-12-03 08:41:24 +00:00
Matt Jacob
b06e7af6dd Set RB_VERBOSE into boothowto (provide proper layering from boot loader
(eventually) settings to kernel settings).

Prototype read_random to quiesce a warning.
1999-12-03 07:20:22 +00:00
Matt Jacob
7e35bc405b roll platform minor 1999-12-03 06:56:43 +00:00
Matt Jacob
571354dc81 clean up sprintf and have buffer that won't overflow 1999-12-03 06:56:23 +00:00
Matt Jacob
7457966f26 turn some messages into CFGPRINT messages 1999-12-03 06:55:39 +00:00
Brian Somers
ffcfaec721 Be careful not to re-initialise `struct stat' while it still has
a running timer.  This fixes a problem where a dial is manually
aborted, the hangup script kicks in and the chat timer ends up
on the timer queue twice (tick tick tick tick *boom*)
1999-12-03 06:33:10 +00:00
Bill Fumerola
47f97505ad Add '-l' which will match a certain status code.
Add the submitter as a contributor in the man page
freebsd -> FreeBSD, while I'm poking around.

PR:		bin/15162
Submitted by:	Dominic Mitchell <dom@palmerharvey.co.uk>
1999-12-03 06:08:11 +00:00
Bill Fumerola
a30945450e Correct co-MAINTAINER's e-mail address. I don't know how many
more ways I can screw his address up. Suggestions welcome.
1999-12-03 03:20:59 +00:00
Jordan K. Hubbard
21a9e9a172 Define name length differently for alpha in order to preserve
backwards compatibility.

Submitted by:	Andrew Gallatin <gallatin@cs.duke.edu>
Reviewed by:	mckusick
1999-12-03 02:23:34 +00:00
Nick Hibma
b47337d347 Fix the 'usb0: USB revision unknown, not supported' people have been seeing
by identifying the version in the PCI drivers.

The OHCI driver just presets this to 1.0 as it is not specified in the
PCI registers anywhere. This should be revisited once USB 2.0 is in
wide spread use.
1999-12-03 01:34:42 +00:00
Bill Fumerola
43cd4e8815 Remove the 'alpha, use at your own risk' death-statement.
Reviewed by:	mckusick (verbally at FreeBSDcon)
1999-12-03 00:40:31 +00:00
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