bde
9fe2430ab3
Cast pointers to uintptr_t instead of casting them to u_long. Don't
...
depend on gcc's feature of casting lvalues. Cosmetic.
1999-08-24 00:04:45 +00:00
bde
aff861d544
Use devtoname to print dev_t's instead of casting them to u_long for
...
misprinting with %lx.
Cast pointers to intptr_t instead of casting them to long. Cosmetic.
1999-08-23 23:55:03 +00:00
bde
b4a4e95f03
`bootdev' is an ordinary u_long, so don't cast it to a pointer to print it.
...
gcc warns about the cast on i386's with 64-bit longs.
Print `bootdev' in all cases when we bail out because it is unreasonable.
1999-08-23 23:42:00 +00:00
brian
101f128474
Cosmetic: bring closer to RELENG_3
1999-08-23 23:13:59 +00:00
alc
0746aa3cb5
Implement a version of s_lock_try that doesn't cause the next s_lock
...
call to panic when SL_DEBUG is set. (SL_DEBUG is currently set
by default.)
1999-08-23 22:25:11 +00:00
bde
a1492fd6d7
Oops, the previous commit was missing a new include.
1999-08-23 22:05:49 +00:00
phk
7de7c4fefc
Complain if this file is included.
1999-08-23 21:51:21 +00:00
phk
1f601186eb
Now that we can bind cdevsw to the individual dev_t, divorce the PERFMON
...
stuff from mem.c. If PERFMON is there, it will "steal" a minor from
mem.c, but mem.c doesn't need to know about this.
Fixed type of cmd argument in perfmon_ioctl().
1999-08-23 21:34:23 +00:00
bde
b112e147a1
Initialise fsids with (user) device numbers again. Bitrot when dev_t's
...
were changed to pointers was obscured by casting dev_t's to longs.
fsids haven't even been comprised of longs since the Lite2 merge.
1999-08-23 21:07:13 +00:00
n_hibma
a9f46ba20d
Reset the UHCI controller when the device comes back from suspend.
...
This should be replaced by proper support for suspend one day (global
suspend).
Submitted-by: Christopher Masto <chris@netmonger.net>
1999-08-23 21:00:08 +00:00
phk
663cbe4fc2
Convert DEVFS hooks in (most) drivers to make_dev().
...
Diskslice/label code not yet handled.
Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers)
Add the correct hook for devfs to kern_conf.c
The net result of this excercise is that a lot less files depends on DEVFS,
and devtoname() gets more sensible output in many cases.
A few drivers had minor additional cleanups performed relating to cdevsw
registration.
A few drivers don't register a cdevsw{} anymore, but only use make_dev().
1999-08-23 20:59:21 +00:00
bde
2a5ff1f726
Use devtoname() to print dev_t's instead of casting them to long or u_long
...
for misprinting in %lx format.
1999-08-23 20:35:21 +00:00
peter
c0b846b2a4
The nexus_attach() code works a lot better if it's actually connected to
...
the device methods... Also, don't fail to add eisa/isa because a previous
device failed to attach.
1999-08-23 19:23:33 +00:00
alc
5a863b38fd
Modify the macros IMASK_UNLOCK, CPL_UNLOCK, and REL_FAST_INTR_LOCK
...
to perform the s_unlock inline.
1999-08-23 19:14:18 +00:00
dwhite
f92baad414
Add 'options MFS_ROOT' back in to kernel configs -- not going to get far
...
without that!
1999-08-23 18:49:52 +00:00
alc
42583848d0
Correct the inconsistent formatting in struct vm_map.
...
Addendum to rev 1.47: submitted by dillon.
1999-08-23 18:16:05 +00:00
alc
980da3c115
struct vm_map:
...
The lock structure cannot be the first element of the vm_map
because this can result in livelock between two or more system
processes trying to kmem_alloc_wait.
1999-08-23 18:08:34 +00:00
n_hibma
eb943b47e0
Recognise the GPS receiver from Trimble
...
in NMEA mode (without date).
Trimble OEM Ace-II receiver. Low cost PCB with single
voltage input, external active antenna and two serial
ports with either NMEA and ITAPs output. Programmable
to be tuned for 'time' accuracy in fixed station config.
Author of tool notified.
Submitted by: Dirk van Gulik <dirk.vangulik@jrc.it>
1999-08-23 14:49:22 +00:00
kato
51b48f5bf4
- Make binary size smaller.
...
- Fix typo in TDK/LANX stuff.
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
1999-08-23 13:54:35 +00:00
cracauer
4920857850
Fix a mistake in my last SA_SIGINFO commit. Processes could block
...
SIGKILL and SIGSTOP.
PR: kern/13293
Submitted by: dwmalone@maths.tcd.ie
Obtained from: PR had correct fix
1999-08-23 13:53:25 +00:00
kato
05f20638ad
Updated to new keyboard driver.
...
Submitted by: yokota & nyan
1999-08-23 13:50:08 +00:00
kato
8355780de3
Merge from sys/dev/syscons/syscons.c revision 1.319.
...
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-08-23 13:45:28 +00:00
kato
4d774b3f0b
Merge from sys/i386/isa/npx.c revision 1.76.
1999-08-23 13:42:22 +00:00
kato
d8cb917b88
Merge from sys/i386/i386/userconfig.c revision 1.153.
1999-08-23 13:41:00 +00:00
kato
6b9d586de3
Merge from sys/i386/conf/options.i386 revision .1.20.
1999-08-23 13:39:32 +00:00
peter
c4539c4f54
Fix a few problems on the Alpha, and fix -Wall while here.
...
Before:
isab0@pci0:8:0: class=0x060100 card=0x00000000 chip=0xffffffffc6931080 ...
After:
isab0@pci0:8:0: class=0x060100 card=0x00000000 chip=0xc6931080 ...
1999-08-23 12:59:03 +00:00
sheldonh
4e369feab6
Correct xref: setlocal -> setlocale(3).
...
PR: 13321
Submitted by: Alexey Zelkin <phantom@cris.net>
1999-08-23 12:55:19 +00:00
peter
f747addc37
Disable some apparently stray debug printfs:
...
ahc0: <Adaptec 274X SCSI host adapter> at 0x1c00-0x1cff, irq 11 (edge)
ahc0: on eisa0 slot 1
ahc0: aic7770 >= Rev E, SBLKCTL = 0x8
SSTAT0 = 0x0
SFUNCT = 0x0
Twin Channel, A SCSI Id=7, B SCSI Id=7, primary A, 4/255 SCBs
Not objected to by: gibbs
1999-08-23 12:08:45 +00:00
chris
7cded4bfc5
Document ENOSYS error.
...
PR: docs/13290
1999-08-23 11:07:29 +00:00
phk
78878d252b
Add new option to fdisk: -e
...
This wipes the MBR and creates slice 1 as a FreeBSD slice covering the
disk starting from the second track to the cylinder aligned end of the disk.
This is the most compatibly layout we have as far as I know.
1999-08-23 11:06:19 +00:00
luigi
41ff5573af
Add missing files from previous commits.
1999-08-23 11:04:23 +00:00
luigi
4dc9c6202d
Add missing file from previous commit
1999-08-23 11:02:08 +00:00
luigi
5ac09b3628
Remove some files probably forgotten from previous commit.
1999-08-23 10:23:32 +00:00
luigi
f4e491e93d
Add missing files probably forgotten in previous commit
1999-08-23 10:19:15 +00:00
luigi
3486685dfa
Add missing files probably forgotten in previous commit
1999-08-23 10:13:06 +00:00
luigi
1a7c6b5ed0
Add missing file probably forgotten from previous commit
1999-08-23 10:05:20 +00:00
phk
90a9cf8278
Fix the breakage caused by hanging softc off dev_t. This is only
...
a workaround.
1999-08-23 09:35:12 +00:00
luigi
e2e7549f11
More cleanup: move device entries in Picobsd makefiles in a more
...
accessible place.
1999-08-23 08:52:05 +00:00
luigi
56742da8c9
Additional cleanup of the picobsd scripts.
...
Also bump Version to 0.445
1999-08-23 08:33:08 +00:00
chris
f92dd3f904
Backed out my -n change to imply -l by request of sheldonh.
1999-08-23 05:39:40 +00:00
rgrimes
49e5b666a7
Fix script in README to actually work, empty lines produce as
...
much a diff as lines with the wrong stuff on it.
Add references in mtree data files to the README.
1999-08-23 05:12:43 +00:00
chris
4a1cbe0182
Make -n flag compliant to the Single Unix Specification.
...
To quote their ls(1) specification:
-n
The same as -l, except that the owner's UID and GID numbers are
written, rather than the associated character strings.
Reviewed by: green
1999-08-23 01:17:58 +00:00
rgrimes
ee3300a479
An explination of how to keep these files in good working order.
...
Reviewed by: bde
1999-08-23 01:16:26 +00:00
chris
716b801a55
Remove cross-reference to removed man page od.4
...
sd(4) reference was also removed in the sentence:
"In general the interfaces are similar to
those described by wd(4) sd(4) and od(4)."
1999-08-22 23:52:01 +00:00
peter
43510808c9
The previous fix didn't do anything if you didn't have pnp. The ICU
...
macros are only called in the !APIC_IO case, include icu.h there.
1999-08-22 23:49:00 +00:00
green
4fae911804
Finish unbreaking autoconf.c includes (for non-SMP.)
1999-08-22 23:44:33 +00:00
chris
770a92bf1c
Remove od.4 -- Kenneth Merry writes:
...
It's not supported any more. It was never ported to CAM, and that
functionality has been taken over by the da driver. So the man page can be
removed.
Reviewed by: ken
1999-08-22 23:40:41 +00:00
brian
d27b3a1884
Aallow ppp to work with Nortel Networks Extranet Switch
...
product and Windows NT tunneling.
Submitted by: Chain Lee <chain@nortelnetworks.com>
1999-08-22 23:32:01 +00:00
brian
731a1c9a39
ppp_alias -> ppp_nat
...
Submitted by: Josef L. Karthauser <joe@FreeBSD.org.uk>
1999-08-22 23:26:05 +00:00
brian
ae2e544f37
Decrease the isdn recovery time to 1 second and mention that it
...
should always be less than ppps redial timeout.
1999-08-22 23:18:42 +00:00