Commit Graph

72958 Commits

Author SHA1 Message Date
Poul-Henning Kamp
c7b1a1d1c3 Various stylistic nit picking.
Sponsored by: DARPA & NAI Labs.
2002-04-09 15:17:59 +00:00
Poul-Henning Kamp
a4ef1c5f92 Introduce the convenience function g_getattr() and make it DWIM.
Sponsored by: DARPA & NAI Labs.
2002-04-09 15:13:42 +00:00
Poul-Henning Kamp
0d3f37a804 Constifixation of attribute argument to g_io_[gs]etattr()
Sponsored by:	DARPA & NAI Labs
2002-04-09 15:12:05 +00:00
Poul-Henning Kamp
e2a685488d Describe the generic disk ioctls in some detail.
Sponsored by: DARPA & NAI Labs
2002-04-09 15:09:54 +00:00
Poul-Henning Kamp
85b16a0d1a Constifixion of bio_attribute. 2002-04-09 14:03:02 +00:00
Ruslan Ermilov
d3b39427f5 Fixed broken dependency in lib/libpam/modules/pam_krb5. 2002-04-09 13:19:09 +00:00
Ruslan Ermilov
357bbe4abe -ltermcap is spelled -lncurses nowadays. 2002-04-09 13:04:31 +00:00
Josef Karthauser
242fcd8d18 Slight tidy up to reduce the differences between our version and NetBSD's.
(No functional changes).
2002-04-09 12:55:46 +00:00
Ruslan Ermilov
c3e3cbe16e No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1. 2002-04-09 11:39:05 +00:00
Poul-Henning Kamp
2ce7d7a033 GC various bits and pieces of USERCONFIG from all over the place. 2002-04-09 11:18:46 +00:00
Poul-Henning Kamp
1aec374128 machine/uc_device.h was only here for USERCONFIG and kget(1).
We have neither anymore.
2002-04-09 11:04:42 +00:00
Poul-Henning Kamp
158f391356 GC kget(1), userconfig is long dead. 2002-04-09 10:55:14 +00:00
Poul-Henning Kamp
7f086a0852 Rename DIOCGKERNELDUMP to DIOCSKERNELDUMP as it strictly speaking
is a "set" not a "get" operation.

Sponsored by:	DARPA & NAI Labs.
2002-04-09 10:04:09 +00:00
Doug Rabson
63fe680462 Define a complete set of accessors for application and control registers. 2002-04-09 09:03:30 +00:00
Doug Rabson
2d1fae48d5 Don't call make_dev from ssccnattach - its far too early to work properly. 2002-04-09 08:53:57 +00:00
Ruslan Ermilov
8b04285f30 Style. 2002-04-09 07:05:24 +00:00
Ruslan Ermilov
498e32cef0 Make this compile in a standalone environment.
Tidy up CLEANFILES.
Use built-in rules for building "maketab".
2002-04-09 07:03:32 +00:00
Jeroen Ruigrok van der Werven
92d2baa6a2 Return correct number of total bits set in all fd_set's.
Change case of POLLNVAL as an error.
Remove POLLHUP and POLLERR from one case, their place is most likely
amongst read events.

PR:		33723
Submitted by:	Alexander Litvin <archer@whichever.org>
Reviewed by:	deischen [Provided a small change to the PR patch as well]
MFC after:	4 weeks
2002-04-09 05:41:00 +00:00
David E. O'Brien
1c47b73286 Break the sparc64 build. I expect those that complained about this commit
to fix the sparc64 case to their liking.
2002-04-09 05:34:22 +00:00
David E. O'Brien
4961d6f99c Back out rev 1.11. People want a FUBARed prototype that breaks many
things.
2002-04-09 05:17:44 +00:00
Jeff Roberson
a59f8b9e6c Turn #ifdef LOOKUP_SHARED into #ifndef LOOKUP_EXCLUSIVE to enable this
behavior by default.  Also, change the options line to reflect this.

If there are no problems reported this will become the only behavior and the
knob will be removed in a month or so.

Demanded by:	obrien
2002-04-09 05:14:17 +00:00
David E. O'Brien
1de038230a Back out revision 1.11 which wrapped the ioctl prototype w/()'s.
While it may have allowed the XFree86 4 port to build; it killed TONS
of other ports.  The XFree86 4 can be patched to not use its macro a lot
easier than figuring how to deal with 1000 other now-broken ports.
2002-04-09 02:22:13 +00:00
Gregory Neil Shapiro
6409bf9271 Found two more files that use the sendmail infrastructure. 2002-04-09 02:09:14 +00:00
Jake Burkholder
22d67801e6 Forgot these files in previous commit to frame.h. Also add needed include
of machine/emul.h.
2002-04-09 01:43:07 +00:00
Jake Burkholder
d134a05e90 Oops. machine/emul.h didn't exist yet. 2002-04-09 01:42:19 +00:00
Makoto Matsushita
1665df2994 Set hint.acpi.0.disable to 1 in /boot/loader.rc of {boot,kern}.flp,
since we have no ACPI feature in the installation kernel at this time.

Without having this, we'll see

	ACPI no autoload failed -- no such file or directory

message at boot time, and it makes some confusion to the users.  We can
backout this change if installation kernel has ACPI feature.

PR:		36911 (partly)
2002-04-09 01:17:47 +00:00
Jake Burkholder
82436f1067 Rename some fields in struct frame to be compatible with NetBSD/OpenBSD,
and add some compatibility defines.  Add fields for ins and locals to
struct reg also for the same reason; these aren't filled in yet because
getting at those registers sucks and I'd rather not save them in the
trapframe just for this.  Reorder struct reg to be ABI compatible as
well.  Add needed include of machine/emul.h.

This gets pmdb (poor man's debugger) from OpenBSD mostly compiling but it
doesn't work yet :(
2002-04-09 00:57:23 +00:00
Jake Burkholder
530faa0f9e Add device se (commented out, most people won't find this useful yet). 2002-04-09 00:37:33 +00:00
Jake Burkholder
7c53bb3492 Use the right major number. 2002-04-09 00:35:26 +00:00
Jake Burkholder
24d1f113ab Grab a major number for the se driver. 2002-04-09 00:34:18 +00:00
Jake Burkholder
b1377f8959 Add the se driver. 2002-04-09 00:30:43 +00:00
Jake Burkholder
48af45c161 Add a low level console driver for the Siemens SAB82532 chip found in many
newer ultras and probably other sun machines.  This is a pretty decent
chip with 32 byte read and write fifos and support for many higher baud
rates.  It supports hdlc and sdlc as well as asynchronoue serial, but the
goal here is just decent serial console support for the sparc64 port, so
these modes are not expected to be supported.  So far this only has support
for the low level routines used by kernel printf and thus ddb over serial,
a character device which can be used for login consoles has not yet been
written.
2002-04-09 00:24:20 +00:00
Jake Burkholder
bb75d97e13 Fix another unsigned long used to index the symbol table which should be
Elf_Hashelt.
2002-04-09 00:05:46 +00:00
Jake Burkholder
16b7e738de Enable device pass. 2002-04-08 23:21:31 +00:00
Peter Wemm
09201d1cf3 Reactivate sysinstall, it does work on ia64. 2002-04-08 23:08:48 +00:00
Peter Wemm
e82fc68223 move gperf to NO_GXX section, it works fine on ia64. It just needs a
c++ compiler.
2002-04-08 22:58:52 +00:00
Peter Wemm
9d04791265 Unbreak world (missing .else)
Submitted by:   fenner
Pointy hat to:  obrien
2002-04-08 22:56:28 +00:00
Andrey A. Chernov
93e293bff0 Get decimal point from locale 2002-04-08 22:00:28 +00:00
David E. O'Brien
d2c10ccbd8 Allow to compile with both GCC 2.95 and 3.1. 2002-04-08 21:22:58 +00:00
Maxime Henrion
a48ca36999 The fourth parameter to copystr() is a size_t, not an int.
Approved by:	peter
2002-04-08 21:14:19 +00:00
Jeff Roberson
1d4cb54ba8 Quiet witness warnings about acquiring several zone locks. In the case that
this happens it is OK.
2002-04-08 21:08:17 +00:00
Jeroen Ruigrok van der Werven
9e74ac9de4 Cast totreq to unsigned long long, as needed on 64-bit machines.
Pointed out by:	jeff
2002-04-08 21:06:14 +00:00
Andrey A. Chernov
9af48ddfd9 Remove it in favour of GNU sort 2002-04-08 20:50:12 +00:00
Andrey A. Chernov
de47b2dadd Connect sort 2002-04-08 20:46:44 +00:00
David E. O'Brien
5447d21d05 sparc64 grew _setjmp/_longjmp. 2002-04-08 20:46:07 +00:00
David E. O'Brien
ae9b2dab02 Use -ffreestanding. 2002-04-08 20:45:44 +00:00
Andrey A. Chernov
00dfed40da Disconnect sort 2002-04-08 20:44:36 +00:00
David E. O'Brien
7a1f3f7f91 Sysinstall does not work on ia64 and sparc64 yet. :-) 2002-04-08 20:42:05 +00:00
David E. O'Brien
9dcb449809 GCC and Gperf do not work on ia64 or sparc64 yet.
Also do not try to compile Groff if NO_CXX is set.
2002-04-08 20:38:56 +00:00
David E. O'Brien
28def05c25 Some things don't compile on ia64 and sparc64 yet. 2002-04-08 20:36:39 +00:00