Commit Graph

2169 Commits

Author SHA1 Message Date
matt d2fa9e5329 Make cpu_coredump dependent on COREDUMP 2006-08-31 16:49:21 +00:00
yamt e527ebac6f - remove unused bdbtofsb.
- move the following macros from MD headers to sys/param.h.
	ctod
	dtoc
	ctob
	btoc
	dbtob
	btodb
2006-08-28 13:43:35 +00:00
sekiya 5286a772e3 Zap reference to XNS. 2006-08-27 09:48:26 +00:00
christos 47966b67d0 This is why we should not copy buggy code... You get to fix bugs multiple
times: Wedges don't have partitions, so don't use MAKEDISKDEV
2006-08-27 05:37:40 +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 6ff205ce76 Remove obsolete #options VERIFIED_EXEC, found by grep(1). 2006-08-26 07:59:21 +00:00
jnemeth abf515e5c5 fix DDB_ONPANIC option 2006-08-23 09:16:40 +00:00
jnemeth d08d7d8e34 make this compile when DEBUG is set 2006-08-23 03:53:32 +00:00
jnemeth 3b961daf6c move 'PCI cryptographic devices' out of the middle of the Disk section 2006-08-21 10:50:00 +00:00
martin eed884e62f Remove ISO and NS networking - the eon0 device is pretty confusing
in sysinst. XXX - we actually should remove it from GENERIC too.
2006-08-18 21:37:31 +00:00
martin 2dfd1d809c Fix wrong prom_getoption() return value checks 2006-08-18 11:17:25 +00:00
martin 1db4d327d9 Allow booting from wedges. 2006-08-14 12:11:26 +00:00
skrll 1a3062e81b s/adpater/adapter/
Prompted by PR/34195
2006-08-14 06:22:33 +00:00
christos b300b74469 Disable SYSTRACE by default on all kernels (discussed with core) 2006-08-12 15:29:52 +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
hannken fc67a08a9c Remove 'unused variable p'. 2006-07-28 14:08:11 +00:00
drochner 84f50d1b92 don't install <machine/db_machdep.h>, this is kernel only 2006-07-26 19:54:56 +00:00
martin a8770a2683 Make it compile again 2006-07-26 08:09:21 +00:00
cube cad5e9a56c Remove "atapibus* at umass?" and "scsibus* at umass?" when there is
already an attachment to the interface attribute (atapi and scsi).

Part of PR#34085, although it is the contrary to what the submitter
suggests (which shows that having both in a config file can be confusing).
2006-07-26 07:00:23 +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
martin d91f1187f9 Back out previous - it apparently was not even compile tested. 2006-07-17 11:36:50 +00:00
gdamore d5875505ba Remove unused memp. Fixes coverity CID 3713 from run 61. 2006-07-15 20:52:59 +00:00
elad c4afa933de add (commented out) fileassoc(9) kernel options on some popular archs. 2006-07-15 07:55:20 +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
gdamore 2fe9781d59 Initialize batt for gcc 4.x, and while here add $NetBSD$ comment. 2006-07-12 15:03:24 +00:00
gdamore d3788a855d New psm driver for use on Ultrabook IIi. Right now it supports the power
button and lid switch.  I will add environmentals (battery, etc.) later.
2006-07-10 17:54:08 +00:00
martin 1a8d6cd53d Initialize the "console screen" once - no matter if we are console or
not.
2006-07-04 18:14:44 +00:00
nakayama 401d23b252 Uncomment "midi* at midibus?" to make umidi work. 2006-07-01 15:19:32 +00:00
tsutsui bc766890f7 Make GENERIC config really generic and change GENERIC32 config for 32 bit
compat kernel to include the GENERIC and use "no" keywords of config(1).
Also merge std.sparc64-64 into std.sparc64 and prepare std.sparc64-32
which uses "no" keywords for 32 bit kernels. OK'ed by mrg.
2006-06-30 10:27:48 +00:00
liamjfoy d00a9ac91b Add CARP to further platforms
ok christos, julian coleman and matthew green
2006-06-29 14:00:55 +00:00
hannken 835f09ae96 db_stack_trace_print(): Enable backtrace with pid argument.
Approved by: Martin Husemann <martin@netbsd.org>
2006-06-19 08:44:45 +00:00
rjs 920cada8e2 Add opt_multiprocessor.h. 2006-06-10 06:38:07 +00:00
kardel 09b51ec920 convert to timecounters (from branch simonb-timecounters) 2006-06-07 22:37:14 +00:00
gdamore b38b3d39ad Import new HAL 0.9.17.2. Approved by sam@
New HAL includes some driver changes to register accesses.
Adds support for WLAN devices on AR5312 family devices.
Adds support 32-bit SPARC ath devices (untested).
ath enabled in SPARC64 GENERIC builds.
This HAL is tested and known to work for i386 PCI devices, SPARC64 PCI devices,
and AR5312 WiSoC devices.  MIPS PCI devices appear to be busted (possibly only
on Alchemy hardware, unconfirmed), and cardbus support is untested due to
lack of test hardware.

Please report any new problems with this import to garrett@.
2006-06-05 05:14:37 +00:00
christos 35c4405d50 void casts. 2006-05-22 00:09:08 +00:00
elad 8ccb6c9341 integrate kauth. 2006-05-14 21:55:09 +00:00
uwe ada9aa3cee De-__P. 2006-05-12 23:35:24 +00:00
skrll 4fb473c54c Fix some comments. 2006-05-12 06:01:02 +00:00
mrg aa75540c7c native_sigset13_to_sigset()'s first argument is a sigset13_t *. 2006-05-11 17:15:54 +00:00
skrll a9f4c28a3d Fix a bunch of cast lvalues. 2006-05-10 06:24:02 +00:00
rjs 78d31ae58c Load CPCB in cpu_mp_startup. 2006-05-09 16:37:39 +00:00
yamt 4aed9e155a pull splraiseipl() for sparc64 from newlock branch.
reviewed by Martin Husemann.
2006-05-04 12:18:54 +00:00
martin 5e7dd1ed9a Invert carrier detect sense, from Jonathan A. Kollasch 2006-04-18 00:09:37 +00:00
jmmv aec18036fd Remove the getwschar and putwschar accessops from wsdisplay drivers as
requested by uwe@.  These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.

As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.

Reviewed by, at least, uwe@ and macallan@.  No objections in tech-kern@.
2006-04-15 17:48:23 +00:00
tron f0ad84f7e8 Add makphy(4). Tested with an Intel PRO/1000 MT in a Tadpole Voyager. 2006-04-13 09:29:51 +00:00
macallan a6d03d30a7 make this compile again 2006-04-12 20:22:00 +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
gdamore ca7d761296 Rename AH_DEBUG, AH_ASSERT, and AH_DEBUG_ALQ to ATH_XXX.
Use the opt_ah.h for the provided HAL to get options like AH_REGOPS_FUNC.
Add AH_REGOPS_FUNC to a few opt_ah.h that don't have it in this version
of the HAL but need it.  (The next version from Sam should have this fixed
in it.  If it doesn't, then we'll have to take care at import time.)

Ultimately, this should make future imports even easier, and individual ports
should not have to worry about whether AH_REGOPS_FUNC is properly defined or
not, since the opt_ah.h will just take care of it automatically.

Ok'd by dyoung@.
2006-04-05 06:54:26 +00:00
gdamore 75670ddc44 Convert existing ath users to new Makefile, except for amd64, which needs
the rules due to needing to conditionally postprocess the HAL object file.

Macppc needs a a non-ELF HAL (EABI) object, so take care of that by default
in the atheros include file.
2006-04-04 03:13:12 +00:00