Bruce Evans
ff0061bb1d
Cast pointers to [u]intptr_t instead of casting them to [u_]long. Don't
...
depend on gcc's feature of casting lvalues, especially for direct
assignment where it doesn't even simplify the syntax. Cosmetic.
1999-08-24 00:48:19 +00:00
Bruce Evans
0921e4886f
Cast pointers to uintptr_t instead of casting them to u_long. They
...
are still converted to u_long by assignment of the uintptr_t, and
address calculations are still done using u_long. This is OK for
currently supported machines, but addresses should be represented
by vm_offset_t or uintptr_t in case pointers are longer than longs.
"Fixed" size of linker_path[]. MAXPATHLEN + 1 was 1 too large for
search paths with only one file path in them, but much too small
for search paths with several long file paths in them.
1999-08-24 00:38:52 +00:00
Bruce Evans
917210006a
Fixed a misplaced cast to uintptr_t. Cosmetic.
...
Use device_get_nameunit() instead of rolling our own.
1999-08-24 00:22:10 +00:00
Bruce Evans
1195ae1843
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
Bruce Evans
af647dde33
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
Bruce Evans
709db0871d
`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 Somers
4c960c5274
Cosmetic: bring closer to RELENG_3
1999-08-23 23:13:59 +00:00
Alan Cox
1971432659
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
Bruce Evans
feb54dc506
Oops, the previous commit was missing a new include.
1999-08-23 22:05:49 +00:00
Poul-Henning Kamp
e129454c03
Complain if this file is included.
1999-08-23 21:51:21 +00:00
Poul-Henning Kamp
845e0781ec
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
Bruce Evans
939cb7521a
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
Nick Hibma
0b77022752
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
Poul-Henning Kamp
9dcbe2404a
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
Bruce Evans
d918320517
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 Wemm
80e6247e72
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
Alan Cox
a236cb64a9
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
Doug White
5262c12c2b
Add 'options MFS_ROOT' back in to kernel configs -- not going to get far
...
without that!
1999-08-23 18:49:52 +00:00
Alan Cox
e394748e8e
Correct the inconsistent formatting in struct vm_map.
...
Addendum to rev 1.47: submitted by dillon.
1999-08-23 18:16:05 +00:00
Alan Cox
b7d742995e
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
Nick Hibma
0d68c4b07e
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 Takenori
614926e47a
- 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
Martin Cracauer
84300d6265
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 Takenori
770e974a43
Updated to new keyboard driver.
...
Submitted by: yokota & nyan
1999-08-23 13:50:08 +00:00
KATO Takenori
5ee2e1ddb8
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 Takenori
820c710d4b
Merge from sys/i386/isa/npx.c revision 1.76.
1999-08-23 13:42:22 +00:00
KATO Takenori
2b0cfe0c2e
Merge from sys/i386/i386/userconfig.c revision 1.153.
1999-08-23 13:41:00 +00:00
KATO Takenori
13b4772498
Merge from sys/i386/conf/options.i386 revision .1.20.
1999-08-23 13:39:32 +00:00
Peter Wemm
7ccb2b3494
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
Sheldon Hearn
e530514d58
Correct xref: setlocal -> setlocale(3).
...
PR: 13321
Submitted by: Alexey Zelkin <phantom@cris.net>
1999-08-23 12:55:19 +00:00
Peter Wemm
0c3c5956d1
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 Costello
1d71a557cc
Document ENOSYS error.
...
PR: docs/13290
1999-08-23 11:07:29 +00:00
Poul-Henning Kamp
e6fb3dde93
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 Rizzo
c464d06ff4
Add missing files from previous commits.
1999-08-23 11:04:23 +00:00
Luigi Rizzo
d4c9c82f8d
Add missing file from previous commit
1999-08-23 11:02:08 +00:00
Luigi Rizzo
42fd4cf364
Remove some files probably forgotten from previous commit.
1999-08-23 10:23:32 +00:00
Luigi Rizzo
6b59f6afe4
Add missing files probably forgotten in previous commit
1999-08-23 10:19:15 +00:00
Luigi Rizzo
05e0775526
Add missing files probably forgotten in previous commit
1999-08-23 10:13:06 +00:00
Luigi Rizzo
124f628b5d
Add missing file probably forgotten from previous commit
1999-08-23 10:05:20 +00:00
Poul-Henning Kamp
b3ddbd9504
Fix the breakage caused by hanging softc off dev_t. This is only
...
a workaround.
1999-08-23 09:35:12 +00:00
Luigi Rizzo
5349eb69a5
More cleanup: move device entries in Picobsd makefiles in a more
...
accessible place.
1999-08-23 08:52:05 +00:00
Luigi Rizzo
0b86462de0
Additional cleanup of the picobsd scripts.
...
Also bump Version to 0.445
1999-08-23 08:33:08 +00:00
Chris Costello
279fdba6f6
Backed out my -n change to imply -l by request of sheldonh.
1999-08-23 05:39:40 +00:00
Rodney W. Grimes
f10c8263aa
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 Costello
c9392e0135
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
Rodney W. Grimes
9998ec0eb0
An explination of how to keep these files in good working order.
...
Reviewed by: bde
1999-08-23 01:16:26 +00:00
Chris Costello
bfd80317d4
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 Wemm
a5a9efa92b
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
Brian Feldman
1574a39bd2
Finish unbreaking autoconf.c includes (for non-SMP.)
1999-08-22 23:44:33 +00:00
Chris Costello
9401c3d753
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