Commit Graph

2281 Commits

Author SHA1 Message Date
mhitch 14c9ea00e0 Switch amiga to MI todr. 2006-09-05 05:32:30 +00:00
he 03d728a806 Collapse two more separate instances of MD vuid_event.h header
files to instead use the common <dev/sun/vuid_event.h> header.
2006-08-28 16:52:09 +00:00
christos e0df1e4c51 PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
2006-08-26 20:26:43 +00:00
tsutsui 6fed756003 Regen from GENERIC.in:
1.54:
> Disable SYSTRACE by default on all kernels (discussed with core)
1.55:
> Remove obsolete #options VERIFIED_EXEC, found by grep(1).
2006-08-26 08:04:32 +00:00
tsutsui 6ff205ce76 Remove obsolete #options VERIFIED_EXEC, found by grep(1). 2006-08-26 07:59:21 +00:00
christos b300b74469 Disable SYSTRACE by default on all kernels (discussed with core) 2006-08-12 15:29:52 +00:00
mhitch 23e6dfaccf Add a new ADOS partition type, "RAI?" to specify a RaidFrame partiion
which can then be autoconfigured.  Currently can only use the 'c'
partition of the raid* device, since there will be no RDB on the device.
2006-08-03 20:29:54 +00:00
mhitch 1553e3ad3f gcc4 uninitialized warning - initialize the darned thing like pmap_motorola.c. 2006-08-03 20:26:24 +00:00
mhitch 7f15b0ef11 gcc4 checks for and warns about specifying a general register constraint
for operands that won't accept an address register.  Change constraint
to specify only a data register.
2006-08-03 20:24:57 +00:00
hubertf ded0447fa8 spc(4) can also attach to pcmcia(4), as was already in hpcmips/GENERIC
for quite some time. Add it to all systems that have pcmcia SCSI.

Pointed out by Björn Johannesson <rherdware@yahoo.com> in private mail,
OK'd by matt@
2006-07-31 23:29:54 +00:00
drochner 84f50d1b92 don't install <machine/db_machdep.h>, this is kernel only 2006-07-26 19:54:56 +00:00
ad f474dceb13 Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
ad 2b79369c7e - Hold a reference to the process credentials in each struct lwp.
- Update the reference on syscall and user trap if p_cred has changed.
- Collect accounting flags in the LWP, and collate on LWP exit.
2006-07-19 21:11:37 +00:00
gdamore 34537908ab Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@.  Fixes PR port-evbmips/32362.
2006-07-13 22:56:00 +00:00
tsutsui 1c1d619cf7 Regen from GENERIC.in rev 1.53:
> Add CARP to further platforms
2006-06-30 10:54:09 +00:00
liamjfoy d00a9ac91b Add CARP to further platforms
ok christos, julian coleman and matthew green
2006-06-29 14:00:55 +00:00
tsutsui b9927f2311 Remove static from devsw[] declaration since it's declared as extern
in <lib/libsa/stand.h>.
2006-06-27 11:12:57 +00:00
tsutsui 267074cf60 - fix signed/unsigned mismatch
- fix lvalue cast
2006-06-27 11:07:17 +00:00
tsutsui 762bb578e9 Include <stdlib.h> for exit(3) prototype. 2006-06-27 10:55:16 +00:00
tsutsui d03388424c volatile void func(decl) -> void func(decl) __attribute__((__noreturn__))
to appease gcc4.
2006-06-27 10:53:11 +00:00
is d6a3b8fecd Fix typo in comment 2006-06-20 19:57:32 +00:00
gdamore 800f1efe25 Make this cross-compile on Solaris, by wrapping the #include of sys/endian.h
with a test for #ifndef HAVE_NBTOOL_CONFIG_H.
2006-06-15 23:06:48 +00:00
aymeric 11fb090059 in the softintr-with-si_callbacks framework, don't use add_sicallback()
everytime softintr_schedule() is called. They don't have the same semantics
when called multiple times before the callback is triggered.
Should avoid huge numbers of si_callbacks being created when a machine is
overloaded.
XXX the fix certainly applies to the atari port, too.
2006-06-09 21:29:39 +00:00
he 9bc6aa0193 Get rid of LHS casts by introducing a pair of local helper variables. 2006-06-07 10:07:03 +00:00
yamt d73ce018b0 include kauth.h for kauth_cred_geteuid. 2006-05-15 09:26:18 +00:00
elad 8ccb6c9341 integrate kauth. 2006-05-14 21:55:09 +00:00
skrll a9f4c28a3d Fix a bunch of cast lvalues. 2006-05-10 06:24:02 +00:00
jmmv 7a51d4dddc Add an extra cookie to the ioctl and mmap wsdisplay accessops that points
to the screen on which they are being called.  The driver cannot guess
this by itself but it is needed to implement, at least, the getwschar and
putwschar functions in the correct place.  There are no functional changes
yet.

Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64.
Suggested and reviewed by macallan@.
2006-04-12 19:38:22 +00:00
chs 60b21d1590 use uvm_km_alloc() instead of uvm_map(). 2006-03-30 04:05:05 +00:00
thorpej 2be6494fc9 Use device_cfdata(). 2006-03-29 04:16:44 +00:00
pavel 9f508a304c regen (added stf). 2006-03-28 21:14:54 +00:00
pavel dc1372c547 Add stf to all kernel configs which have INET6 and gif, except the INSTALL
ones and those for specific machines of developers. PR 32304.

OK'ed by rpaulo.

N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
2006-03-28 20:58:39 +00:00
aymeric 1adab2b4e3 as far as control registers are concerned, the A1200 behaves the same as the
A4000.  This allows the use of ATAPI drives on the A1200.
Idesc can really rest in peace now.
2006-03-27 19:35:33 +00:00
is 814b71df61 idesc.c was unreferenced for 14 months; time has finally come to move it]
to the Attic.
2006-03-26 19:30:57 +00:00
thorpej 21374641a5 Use device_unit(). 2006-03-26 04:32:33 +00:00
drochner 47fbb9d86b adapt to uvm_fault() interface cleanup: kill the useless 3rd argument 2006-03-15 18:12:02 +00:00
lukem a1f606d3fd Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
2006-03-08 23:46:22 +00:00
aymeric 72fe84ab67 . free VM if attach fails
. many small cleanups
No functional improvement
2006-03-05 22:01:32 +00:00
aymeric 454ab782f0 add the no_instrument_function attribute to start_c so that we can reliably
profile the kernel
2006-03-05 21:59:15 +00:00
aymeric 18d008b37e include ../m68k/Makefile.inc after we got a chance of having a better
definition of SYSDIR. This makes tags work if the sources are not in /sys
2006-03-05 21:57:59 +00:00
perry fbae48b901 Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.
2006-02-16 20:17:12 +00:00
cube 6ff13154dd Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
2006-02-05 05:01:48 +00:00
rpaulo cc9f3c8ae6 regen 2006-02-04 02:25:21 +00:00
rpaulo 4866e74b23 bpfilter doesn't accept count anymore. 2006-02-04 02:25:08 +00:00
reinoud be58a98b29 Regen GENERIC config files. 2006-02-03 00:41:26 +00:00
reinoud f4c2e9d012 Add uncommented file-system UDF for generated config GENERIC files. 2006-02-03 00:40:16 +00:00
reinoud a92fdbbc53 Add commented out UDF file-system entry in all GENERIC configurations. 2006-02-02 21:32:08 +00:00
is 99ff421490 Implement dealloc() - and implement alloc() in a way that it matches it. 2006-01-31 14:58:28 +00:00
dsl 6f0f9f8763 Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h>
The bswap.h and endian.h files are all rather incestuous, but I want to
get the constant folding stuff into one place - sys/bswap.h
2006-01-29 21:42:40 +00:00
christos 606bb2caed free -> dealloc
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00