martin
a8f065cf19
Add "esiop" driver to PCI bus table, so mapping OF boot device pathes
...
to autoconfig device nodes works when booting from a esiop attached drive
(instead of the old siop)
2003-08-07 22:24:34 +00:00
bouyer
1f2944e8e5
Add esiop at pci to GENERIC which already have siop at pci.
...
esiop has been tested enouth now.
esiop not added to INSTALL kernels because of possible space constraint.
siop should be able to drive all adapters supported by esiop.
2003-08-07 17:17:58 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
petrov
1da0fc9112
It's 2003 now, print newline in attach.
2003-07-30 07:00:32 +00:00
petrov
81e5980814
Remove autoconf_nzs, seems no-one uses it now.
2003-07-29 23:31:32 +00:00
itojun
3f14c71f75
reserve cdev major # for PF. ok'ed by technical-exec
2003-07-27 14:17:57 +00:00
thorpej
063033a023
Since everyone uses clock_subr.c (or should, if they don't currently),
...
list it in conf/files instead of in every port's files.*.
2003-07-27 01:17:37 +00:00
petrov
965244ee25
ansify.
2003-07-24 09:10:43 +00:00
petrov
120c8bbd3f
Driver for CP1500/1400 watchdog timer.
2003-07-17 21:02:03 +00:00
petrov
fd3a71be25
Driver for CP1500/1400 watchdog timer.
2003-07-17 20:54:41 +00:00
nakayama
0f9cf6ed8d
Fix typo in comment.
2003-07-17 07:56:46 +00:00
lukem
ed51729135
__KERNEL_RCSID()
2003-07-15 02:54:31 +00:00
cdi
684b6d6499
traceit: don't use %g7 as it is to become curcpu() register. Add comments.
2003-07-08 22:09:26 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
martin
69cd0c4a54
struct proc * -> struct lwp *
2003-06-29 13:33:51 +00:00
martin
2edcbf6bb2
struct proc * -> struct lwp *
2003-06-29 10:37:45 +00:00
martin
c101c976d0
Passing struct lwp * instead of struct proc * to device functions.
2003-06-29 10:29:33 +00:00
martin
84a6dd7e55
Passing struct lwp * instead of struct proc * to device functions,
...
replace a homegrown check with proper suser() call.
2003-06-29 10:29:17 +00:00
darrenr
960df3c8d1
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
...
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
martin
d505b18964
Make sure to include opt_foo.h if a defflag option FOO is used.
2003-06-23 11:00:59 +00:00
nakayama
64dc0184cc
s/options\t/options \t/
2003-06-20 03:15:05 +00:00
martin
e0b0d04377
Ooops, I didn't intend to enable kgdb by default here.
...
(Since the related changes are not yet commited, it doesn't even compile)
2003-06-19 14:39:52 +00:00
agc
7ebe0b8c4b
Make this compile.
2003-06-19 14:08:54 +00:00
martin
dbe43da717
Add missing COMPAT_ options.
2003-06-18 09:38:56 +00:00
drochner
1a03e79900
don't #include <sys/dkstat.h> where it is (appearently) unused
2003-06-18 08:58:34 +00:00
thorpej
452a8fdae2
Rename IPL_IMP -> IPL_VM.
2003-06-16 20:00:56 +00:00
heas
d00e9c2510
Define option BLINK in option file opt_auxio.h and include it in auxio.c.
...
approved by martin@
2003-06-16 19:24:51 +00:00
fvdl
7dd7f8baa2
Handle 64bit DMA addresses on PCI for platforms that can (currently only
...
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00
thorpej
0eff671820
Also pass a type argument to comcnattach() and com_kgdb_attach().
...
comspeed() (and thus cominit()) may need this information.
2003-06-14 17:01:06 +00:00
petrov
49d4047a8f
Pick up from OpenBSD:
...
The sab driver sometimes gets out of sync with the hardware. This can
cause the serial console to hang.
2003-06-13 01:33:32 +00:00
petrov
7c89964036
Use cdevsw_lookup_major.
2003-06-11 22:51:03 +00:00
petrov
175f7ab29d
Comment out debug output.
2003-06-11 22:50:12 +00:00
martin
b812b130a9
Remove commented out and nowadays incorrect KGDB declarations.
2003-05-26 21:12:07 +00:00
petrov
f52795a415
ffb added.
2003-05-23 06:57:58 +00:00
petrov
49f3f8ccaf
Port of OpenBSD ffb driver written by Jason L. Wright.
2003-05-23 06:51:15 +00:00
martin
a47f54c6b8
Make kernels with options KGDB at least compile.
...
Still needs some work to make it working.
2003-05-18 22:11:31 +00:00
martin
ce380782ec
My reading of the gdb code seems to indicate it expects 125 registers
...
from sparc64, not 72 (sparc value). Bump kgdb buffer size a bit too.
2003-05-18 21:00:57 +00:00
martin
6b8eb7fd4f
Remove reference to non-existing file
2003-05-18 20:56:54 +00:00
nakayama
a8c34ddce5
Avoid comparison is always false warnings in gcc 3.3 w/ 32-bit kernels.
2003-05-17 01:49:59 +00:00
nakayama
67e3486872
Avoid integer constant is too large warnings in gcc 3.3.
2003-05-17 01:48:22 +00:00
nakayama
d0f6668f6d
Avoid strict-alias warnings in gcc 3.3.
2003-05-17 01:38:39 +00:00
dsl
88b103687c
ktrace rval[1] - in order to get both fd numbers for pipe()
2003-05-15 12:56:16 +00:00
martin
2bfee7cbe0
Backout previous, it was apparently ovelooked when backing out the
...
change in other places.
2003-05-13 08:39:25 +00:00
kleink
776138ea69
Rename <sys/float_ieee.h> to <sys/float_ieee754.h>, following libc's
...
convention for these.
2003-05-12 15:22:53 +00:00
thorpej
e43fecb228
Change bounds_check_with_label() to take a pointer to the disk structure,
...
rather than the label itself. This paves the way for some future changes.
2003-05-10 23:12:28 +00:00
martin
87c22b8198
Convert a few home-grown if()... Debugger() sequences into real panics.
2003-05-10 14:10:54 +00:00
martin
c1a485bec1
Remove a spurious Debugger() call.
2003-05-10 14:03:19 +00:00
martin
9ce1071f1c
We are always using ELF on sparc64, so nuke bogus test for DB_ELF_SYMBOLS.
2003-05-10 13:35:10 +00:00
thorpej
b77900c3c2
Simplify the way the bounds of the managed kernel virtual address
...
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM. Machine-dependent code is
responsible for initializing them before main() is called. Anything
that steals KVA must adjust these variables accordingly.
This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().
This also eliminates some kludges such as having to burn kernel_map
entries on space used by the kernel and stolen KVA.
This also eliminates use of VM_{MIN,MAX}_KERNEL_ADDRESS from MI code,
this giving MD code greater flexibility over the bounds of the managed
kernel virtual address space if a given port's specific platforms can
vary in this regard (this is especially true of the evb* ports).
2003-05-08 18:13:12 +00:00
martin
ae2073f3d8
Make all non-trivial bus space functions "static __inline" (consistently)
...
and turn all macros with local blocks and declarations into functions.
This fixes PR 19975.
2003-05-05 09:36:51 +00:00