christos
b300b74469
Disable SYSTRACE by default on all kernels (discussed with core)
2006-08-12 15:29:52 +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
tsutsui
b6558b0616
Use bus_space_map(9) and bus_space_vaddr(9).
2006-07-21 18:40:58 +00:00
tsutsui
a75de8e2db
Use more proper macro.
2006-07-21 18:11:01 +00:00
tsutsui
3c612311d0
Use bus_space_map(9) and bus_space_vaddr(9) rather than iomap().
2006-07-21 18:05:30 +00:00
tsutsui
888ea5adc5
Use macro defined in dioreg.h.
2006-07-21 15:14:11 +00:00
tsutsui
7d4b57d7bc
Some KNF.
2006-07-21 10:01:39 +00:00
tsutsui
2e21abf224
Identify models HP362 and HP382. From OpenBSD, tested on my HP382.
...
Note now options HP362 and options HP382 are required for these models
in your kernel config file.
2006-07-20 13:21:38 +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
tsutsui
2c2371cf55
Adjust comments.
2006-07-19 19:29:02 +00:00
tsutsui
82cc83ca42
Set cpuspeed for HP_400 and HP_425 explicitly.
2006-07-19 19:25:48 +00:00
tsutsui
4c07c7291c
Adapt stand sources to changes of intio device offset macro.
2006-07-19 19:23:56 +00:00
tsutsui
e4b249fede
oops, fix typo
2006-07-19 18:28:58 +00:00
tsutsui
d0e89b46cb
- strncpy() -> strlcpy()
...
- adjust buffer length
2006-07-19 18:25:40 +00:00
tsutsui
83ed44a817
some KNF
2006-07-19 17:32:15 +00:00
tsutsui
f94698e954
Define base address offsets of intio devices in intioreg.h
...
and replace various magic numbers with the macro.
2006-07-19 17:21:23 +00:00
tsutsui
33663964ec
Use iobase address passed from attach args.
2006-07-19 17:18:03 +00:00
tsutsui
d72fb94231
- use __arraycount()
...
- remove parentheses from return values
2006-07-19 16:23:41 +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
344bead7dc
Rearrange DELAY() macro to use an asm statement so that we'll get more
...
proper delay.
2006-07-02 11:24:43 +00:00
tsutsui
8fa9dbf439
Remove sc_table[] decl, which is in device.h.
2006-07-02 11:10:28 +00:00
tsutsui
8fee3d1ece
Use a volatile variable in DELAY() macro so that gcc4 won't omit it.
...
Fixes output corruption on DCA console boot.
XXX some mips ports have the similar macro in <machine/param.h>.
2006-07-02 10:40:25 +00:00
tsutsui
e50565f96a
No need to install autoconf.h.
2006-07-01 17:33:25 +00:00
liamjfoy
aeee5deab9
Add CARP to GENERIC kernel configs. CARP is not enabled by default.
...
ok: christos
2006-06-28 15:19:27 +00:00
tsutsui
1cf7251d79
- use (uint8_t *) for scsi buffers
...
- u_char -> uint8_t for byte data
- use proper type variable
2006-06-25 17:40:14 +00:00
tsutsui
c06815799e
Use (uint8_t *) to specify buffers for hpib xfers.
2006-06-25 17:37:43 +00:00
tsutsui
5845cc2e3c
Fix unsigned/signed mismatch.
2006-06-25 17:35:12 +00:00
tsutsui
6d0b292e48
- move declaration for sc_table from samachdep.h to device.h
...
- include <lib/libsa/stand.h> from samachdep.h for struct fs_ops
- remove unneeded declarations from samachdep.h
2006-06-25 17:34:30 +00:00
tsutsui
0099b09a49
Remove unused extern variable declarations. Noticed by gcc4.
2006-06-25 14:14:18 +00:00
gdamore
ef3a65883d
Fix to make this cross compile on Solaris. (Don't include sys/endian.h
...
if HAVE_NBTOOL_CONFIG_H is defined.)
2006-06-18 05:53:51 +00:00
tsutsui
e595d713a2
- strncpy -> strlcpy
...
- 16 -> sizeof(foo)
2006-06-16 23:56:58 +00:00
tsutsui
8ff2abc2ad
space nits.
2006-06-10 12:35:01 +00:00
tsutsui
3bd0011e38
Use a proper macro to determine I/O size for DIO-II devices.
2006-05-31 09:32:11 +00:00
tsutsui
35a0a35342
Check scode range for DIO-II based framebuffers correctly
...
in cnattach() functions.
Fixes boot failure problem on HP400t with fb console
reported by Stephan "doomwarrior" on port-hp300.
2006-05-31 09:25:44 +00:00
yamt
74e0339f36
include kauth.h for kauth_cred_geteuid.
2006-05-15 12:48:48 +00:00
yamt
b3b862261c
include kauth.h for kauth_cred_geteuid.
2006-05-15 12:41:21 +00:00
elad
8ccb6c9341
integrate kauth.
2006-05-14 21:55:09 +00:00
blymn
3c0adb7d99
Make i/o statistics collection more generic, include tape drives and
...
nfs mounts in the set of devices that statistics will be reported on.
2006-04-14 13:09:05 +00:00
oster
82818fa5ca
Explicitly include <m68k/frame.h> here, rather than relying on it getting
...
pulled in via signal.h by accident.
2006-04-01 18:02:04 +00:00
tsutsui
7e2e0fa776
Add a missing parenthesis.
2006-03-29 16:03:37 +00:00
thorpej
2be6494fc9
Use device_cfdata().
2006-03-29 04:16:44 +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
thorpej
39cd836ee1
Use device_unit().
2006-03-28 17:38:24 +00:00
tsutsui
14b642c7d7
Hmm, apply a missed fix for hp300 in the folloing commit:
...
http://mail-index.netbsd.org/source-changes/2002/02/14/0023.html
> allow writing to write-only mappings. fixes PR 3493.
2006-03-26 02:33:31 +00:00
tsutsui
17b38bf99c
Remove/sort some #include headers.
2006-03-26 02:28:37 +00:00
tsutsui
9bb95b5330
Fix a typo in previous.
2006-03-26 02:02:01 +00:00
tsutsui
b8b61c2254
- fix botch in comment on register prefix removal
...
- use m68k_page_offset() macro
- some KNF
2006-03-26 01:59:31 +00:00
tsutsui
e627d48e89
Make this compile with options DEBUG.
2006-03-26 01:58:28 +00:00
tsutsui
2bc47497e2
Include header files rather than local declaration.
2006-03-26 01:50:07 +00:00