Commit Graph

100305 Commits

Author SHA1 Message Date
Hiroki Sato
11d3e039e6 New release note:
ata(4) cardbus ATA/SATA support.
	ifconfig(8) prints polling(4) status.
2004-03-15 21:20:39 +00:00
Max Khon
636d6d5926 Add ru.koi8-r.win.kbd based on ru.koi8-r.shift.kbd which closely mimics
ru(winkeys) XFree86 layout.

Differences with ru.koi8-r.shift.kbd are:
- ctrl+shift = alock
- left/right win = meta, menu = saver
- alock'ed shift+[0-9] = )!@#$%^&*(
2004-03-15 20:34:18 +00:00
John Baldwin
6b55d75c44 Regen for ptrace being safe again. 2004-03-15 18:50:06 +00:00
John Baldwin
8ac61436e6 Drop the proc lock around calls to the MD functions ptrace_single_step(),
ptrace_set_pc(), and cpu_ptrace() so that those functions are free to
acquire Giant, sleep, etc.  We already do a PHOLD/PRELE around them so
that it is safe to sleep inside of these routines if necessary.  This
allows ptrace() to be marked MP safe again as it no longer triggers lock
order reversals on Alpha.

Tested by:	wilko
2004-03-15 18:48:28 +00:00
Dag-Erling Smørgrav
d2b1b4f3c5 Correctly document the default value of UsePAM. 2004-03-15 18:38:29 +00:00
Wes Peters
68898c7350 Add script for creating ramdisks at boot time, in time to be processed
by fstab.
2004-03-15 18:36:21 +00:00
Dag-Erling Smørgrav
76798703a5 Remove bogus (void **) casts. This unbreaks the -O2 build. 2004-03-15 17:43:36 +00:00
Dag-Erling Smørgrav
5b3ce02186 Don't try to pass off a struct sockaddr as a struct sockaddr_in when it
may in fact very well be a struct sockaddr_in6.  Just use plain struct
sockaddr.

This brings us yet another step closer to a clean -O2 build.
2004-03-15 17:08:28 +00:00
Tom Rhodes
7b1ac86dc1 Remove whitespace at EOL. 2004-03-15 17:01:31 +00:00
Bill Paul
f79e9df73b Add vectors for _snprintf() and _vsnprintf() (redirected straight to
snprintf() and vsnprintf() in FreeBSD kernel land).

This is needed by the Intel Centrino 2200BG driver. Unfortunately, this
driver still doesn't work right with Project Evil even with this tweak,
but I'm unable to diagnose the problem since I don't have access to a
sample card.
2004-03-15 16:39:03 +00:00
Max Laier
657ea5eb2c Move GID/UID_MAX under __BSD_VISIBLE protection.
Requested by:	bde
Approved by:	bms(mentor)
2004-03-15 13:43:44 +00:00
Max Laier
b83a49e9b9 Fix some style(9) related issues after discussion with/education from bde:
- Add <sys/param.h> and <limits.h> where required (do not depend on other
   headers pulling it in).
 - __dead -> __dead2
 - #if defined() -> #ifdef
 - Remove ugly PRIu64 macros and use %llu w/ (unsigned long long) cast.

All changes looped back to OpenBSD (where applicable) for easier sync in the
future.

Requested by:	bde
Approved by:	bms(mentor)
2004-03-15 13:41:17 +00:00
Dag-Erling Smørgrav
dce2454396 Add -DDEBUG to DEBUG_FLAGS if PAM_DEBUG is defined. 2004-03-15 13:23:20 +00:00
Søren Schmidt
d7659cb1ac Add printing of relevant SATA info where approbiate. 2004-03-15 13:21:41 +00:00
Søren Schmidt
ad0e7ebfd2 Add SATA support fields 2004-03-15 13:17:24 +00:00
Pawel Jakub Dawidek
7f4704c01d Remove sysctl security.jail.list_allowed.
This functionality was a misfeature, sysctl was added and turned off by
default just to check if nobody complains.

Reviewed by:	rwatson
2004-03-15 12:10:34 +00:00
Søren Schmidt
498e55436a Add support for detaching PCI controllers.
This adds support for cardbus ATA/SATA controllers. I get roughly the
same transfer speeds as on true PCI controllers. Nice to be able to add
a couble of "real" disks to a laptop :)
2004-03-15 12:03:48 +00:00
Warner Losh
5c9d7c3a68 Kill bogus isa compat opt file. 2004-03-15 11:27:39 +00:00
Warner Losh
dc57f07049 Temporarily comment out cy.
Remove COMPAT_OLDISA
2004-03-15 10:39:37 +00:00
Warner Losh
91a5625be4 including isa_device.h was historical in this file, remove it 2004-03-15 10:39:01 +00:00
Don Lewis
c947dc059b Document additional reasons that sysctl(3) can return ENOMEM (due to
vslock() failure).
2004-03-15 10:32:37 +00:00
Don Lewis
ec0791be40 Change len pararmeter from u_int to size_t.
Document vslock() return values.
2004-03-15 10:05:27 +00:00
Don Lewis
bb734798af Make overflow/wraparound checking more robust and unbreak len=0 in
vslock(), mlock(), and munlock().

Reviewed by:	bde
2004-03-15 09:11:23 +00:00
Dag-Erling Smørgrav
4705e3da6a Make this compile with -O2. A proper fix would use a struct to represent
vectors, instead of requiring the caller to keep track of element size
and count and pass them in by reference.
2004-03-15 08:14:35 +00:00
Dag-Erling Smørgrav
2fb05f85d5 Whitespace nits. 2004-03-15 08:03:10 +00:00
Ruslan Ermilov
51a23805f8 gasp(1) isn't linked with -lgnuregex, and it doesn't need <gnu/regex.h>
either.

Reviewed by:	obrien
2004-03-15 07:19:41 +00:00
Don Lewis
f0ea4612ef Style(9) changes.
Pointed out by:	bde
2004-03-15 06:43:51 +00:00
Don Lewis
ce8660e395 Revert to the original vslock() and vsunlock() API with the following
exceptions:
	Retain the recently added vslock() error return.

	The type of the len argument should be size_t, not u_int.

Suggested by:	bde
2004-03-15 06:42:40 +00:00
Don Lewis
be4c5ad025 Remove redundant suser() check. 2004-03-15 06:36:55 +00:00
Juli Mallett
c83afe7be9 static and const. 2004-03-15 04:10:29 +00:00
Juli Mallett
9c4c393a74 Validate argument to -i. 2004-03-15 03:41:07 +00:00
Robert Watson
5e71a73b7b Lock down global variables in if_tap (primarily, the tap softc list);
add tapmtx, which protects globale variables.

Notes:

- The EBUSY check in MOD_UNLOAD may be subject to a race.  Moving the
  event handler unregister inside the mutex grab may prevent that race.

- Locking of global variables safely is now possible because tapclones
  is only modified when the module is loading or unloading, thanks to
  phk's recent chang to clone_setup().

- softc locking to follow.
2004-03-15 01:52:00 +00:00
David E. O'Brien
a5b0d49470 Shorten a long comment. 2004-03-15 00:49:40 +00:00
Bruce A. Mah
1352f6f491 Grammar nits.
Move a SGML comment to a more meaningful (and correct) place in this
file.
2004-03-15 00:24:27 +00:00
Bruce A. Mah
312cabac15 Mention ubser(4) devices, fix a minor punctuation nit. 2004-03-15 00:11:27 +00:00
Bruce A. Mah
39cccd7ea2 New release notes: acpi_toshiba(4), acpi_video(4), ubser(4),
FreeBSD/i386 can be compiled with icc, ng_atmllc(4), logins(1), GNU
grep 2.4.2.
2004-03-15 00:07:19 +00:00
Robert Watson
0ff34b5e1c Don't reject FAT file systems with a number of "Heads" greater than
255; USB keychains exist that use 256 as the number of heads.  This
check has also been removed in Darwin (along with most of the other
head/sector sanity checks).
2004-03-14 23:28:12 +00:00
Hiroki Sato
22937d6049 Update release note:
The gsc driver removed.
2004-03-14 23:26:06 +00:00
Warner Losh
69ef3621a2 Remove isa compat stuff.
Only cy, bs and wd in the tree still use it.  I have a replacement for
cy that I need to test on ISA and PCI cards.  bs and wd are pc98 only
drivers that appear to no longer be necessary.  I'll be removing them
when I hear back from the pc98 people.
2004-03-14 23:03:57 +00:00
Warner Losh
26b74a3cdb comment out bs and wd entries in the hints 2004-03-14 23:02:07 +00:00
Bruce A. Mah
5366d3a281 Remove entries for the following devices as their drivers are gone:
rdp(4), le(4), stl(4), stli(4), ctx(4), spigot(4).

Take a guess that the following devices correspond to removed drivers
and blow their entries away too: "Genius and Mustek hand scanners"
(gsc(4)?)  and "GPB and Transputer drivers" (gpib(4)?).
2004-03-14 22:56:06 +00:00
Warner Losh
289e7650eb Comment out the cy driver until I can make sure that the new cy driver
I have for it works.
2004-03-14 22:50:49 +00:00
Warner Losh
2c87f688cd The gsc driver has been retired, so retire its control program. 2004-03-14 22:47:02 +00:00
Warner Losh
bfbc84bff3 Retire gsc man page after driver retirement 2004-03-14 22:43:51 +00:00
Warner Losh
e9dd5834c6 The gsc driver uses the old COMPAT_ISA api. Retire it so we can
retire the COMPAT_ISA shims.  If someone were to redo this driver with
the new APIs and test it, it can return.
2004-03-14 22:42:54 +00:00
Hiroki Sato
cfd3634f23 Update release note:
rdp and spigot driver removed.
2004-03-14 22:42:02 +00:00
Warner Losh
e96cc4a8a3 Hints for the le driver are no longer necessary here.
Noticed by: ru
2004-03-14 22:38:18 +00:00
Warner Losh
1ec6878636 rdp has been retired, retire its man page too 2004-03-14 22:36:54 +00:00
Hiroki Sato
3ce68bad1c Update release note:
The le driver removed.
2004-03-14 22:35:48 +00:00
Warner Losh
721745e356 The rdp driver uses the COMPAT_OLD api. This is being retired, so
this driver is being retired.  Remove it from the tree.  If someone
wants to update it to the latest APIs and can test the hardware, it
can return to the tree.
2004-03-14 22:35:29 +00:00