thorpej
3cd14f7597
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 02:00:30 +00:00
thorpej
77abd102b7
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:38:52 +00:00
thorpej
82d914d090
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:26:49 +00:00
thorpej
5c67e5fad9
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:16:48 +00:00
thorpej
08607bc611
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:03:02 +00:00
mrg
4fe3a900f3
comment: LEAPYEAR is not entirely correct
1996-03-17 00:56:24 +00:00
christos
5b2bf5a548
add rom routines declarations
1996-03-16 23:51:44 +00:00
christos
64356e6df3
fix printf format strings
1996-03-16 23:31:45 +00:00
christos
dafa7f2c60
fix format strings. move rom routine decls in bsd_openprom.h
1996-03-16 23:31:42 +00:00
christos
ed2239daea
Fix format strings in panic()
1996-03-16 23:31:40 +00:00
christos
0c4805af23
Fix typo in fsrtoname() use && as intended instead of &
1996-03-16 23:31:36 +00:00
christos
4b636d71eb
cast argument to probeget()
1996-03-16 23:28:37 +00:00
christos
2cb7b87853
fix formats in printf() and panic()
1996-03-16 23:28:35 +00:00
christos
5c32202b7e
fix format in printf()
1996-03-16 23:28:33 +00:00
christos
fe4bb997c9
fix format in panic()
1996-03-16 23:28:30 +00:00
christos
09ff5d56a7
fix format in printf()
1996-03-16 23:28:28 +00:00
christos
aab8906300
fix format in log()
1996-03-16 23:28:27 +00:00
christos
f2b8b6e73e
include <sys/systm.h>
1996-03-16 23:28:25 +00:00
christos
02bcb06a88
This could have never worked (fb in attach was never initialized); include <sys/systm.h>
1996-03-16 23:28:23 +00:00
mhitch
ae815da330
change Debugger() from an int function to a void function to match the
...
prototype in sys/systm.h.
1996-03-16 18:45:44 +00:00
ragge
f9ee92c45a
Support installation of /usr/mdec files.
1996-03-16 11:03:11 +00:00
ragge
33aad32f37
Accept adapter numbering in boot.
1996-03-16 11:02:28 +00:00
mhitch
a5c0ced572
Removed Debugger() declaration - the prototype is in sys/systm.h.
1996-03-16 08:19:43 +00:00
thorpej
0c71728320
Change the PS/2 mouse driver to be a child of the "pckbd" attribute,
...
which represents the "keyboard controller". Give "pc" and "vt" drivers
the "pckbd" attribute. In pcattach() (pccons and pcvt), attach children
of the keyboard controller.
1996-03-16 06:08:46 +00:00
jtc
2ce5f1478b
Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1.
1996-03-16 01:31:45 +00:00
thorpej
58a3d4e742
RCS id police.
1996-03-16 00:17:52 +00:00
thorpej
0bbcd292a1
RCS id police.
1996-03-16 00:07:07 +00:00
mhitch
48118d719d
Correct 53c710 initialization for the A4000T. Remove the A4000T probe
...
debugging output.
1996-03-15 22:11:09 +00:00
is
1c6c1c4af9
If compiling with "options M68060", tell compiler not to use
...
instructions which have to be emulated by the operating system on that
chip. This code will still run on M68020, M68030 and M68040, but
might be a bit slower on those chips.
1996-03-15 20:09:52 +00:00
is
ed24bc5ba8
AMIGA_68060 flag in cpu.h and genassym.c.
1996-03-15 19:47:45 +00:00
chuck
1079c8c2aa
change Debugger() from an int function to a void function to match the
...
prototype in sys/systm.h (which was just put in in by christos)
with revision 1.43 of sys/systm.h
revision 1.43
date: 1996/03/14 18:59:12; author: christos; state: Exp; lines: +1 -3
systm.h: Bring Debugger() prototype into scope.
1996-03-15 00:07:18 +00:00
christos
6d492269e0
Add -Wall -Wstrict-prototypes -Wmissing-prototypes
...
to the kernel build. The sparc is clean now!
1996-03-15 00:02:28 +00:00
christos
9af46afa21
Fix prototypes for the latest kpc changes.
1996-03-15 00:01:21 +00:00
christos
9673aca601
Fix prototypes that were added with the latest kpc changes.
1996-03-15 00:00:39 +00:00
mark
6cb2a43b5e
RCS Id police.
1996-03-14 23:10:59 +00:00
christos
99fff354c6
fdopen -> filedescopen
1996-03-14 22:18:02 +00:00
leo
55b65fb49a
Switch to the mi ramdisk driver.
1996-03-14 21:41:04 +00:00
christos
25b31cbc91
fdopen -> filedescopen
1996-03-14 21:31:56 +00:00
christos
ab0e60a42f
fdopen -> filedescopen
1996-03-14 21:20:59 +00:00
christos
9c75606e8c
Add prototypes and fix bugs:
...
- softclock was called with extra argument.
- missing %x formats in printf's
- kgdb_copy called with only two arguments.
Fix conf.c so that it used the _conf.h files from other places instead of
rolling its own.
1996-03-14 21:08:50 +00:00
christos
9a07d9dec9
Add missing prototypes and fix the fp struct for svr4.
1996-03-14 19:49:04 +00:00
christos
03b701e393
Bring prototypes into scope and fix compiler warnings.
1996-03-14 19:44:30 +00:00
christos
ab59f984ab
Add and bring prototypes into scope.
1996-03-14 19:41:49 +00:00
scottr
2a5cf25e29
Back out previous change; kernel longjmp() has 1 arg.
1996-03-14 16:42:44 +00:00
scottr
24dcca72bd
Optimize user-side TLB invalidation when !defined(M68020).
1996-03-14 05:50:06 +00:00
cgd
0926920201
(1) remove the #ifdef i386 from pci.c, and provide a machine-dependent
...
hook (pci_md_attach_hook()) to do any machine-dependent attachment
gunk, e.g. on the i386 printing out the configuration mode (if bus 0)
(2) don't pass max device number for a given bus in, use
PCI_MAX_DEVICE_NUMBER, which can be defined on a per-machine basis.
(defaults to 32. on i386, it's 32 if pci conf mode == 1, 16 if 2.)
1996-03-14 02:37:59 +00:00
cgd
20af97b2c0
don't pass max device number for a given bus in, use
...
PCI_MAX_DEVICE_NUMBER, which can be defined on a per-machine basis.
(defaults to 32. on i386, it's 32 if pci conf mode == 1, 16 if 2.)
1996-03-14 02:37:28 +00:00
pk
485ccae478
Insert child_return() for the benefit of child return path from cpu_fork().
1996-03-14 00:55:59 +00:00
pk
0b1cba4b0b
Implement cpu_set_kpc() and use its machinery to by-pass a child out
...
of the kernel from cpu_fork().
1996-03-14 00:54:34 +00:00
pk
d48d8e1512
Install machinery for cpu_set_kpc().
1996-03-14 00:54:06 +00:00
pk
808df5543f
Remove cpu_set_init_frame().
1996-03-14 00:49:20 +00:00
pk
894fde6bdd
Remove __FORK_BRAINDAMAGE.
1996-03-14 00:48:30 +00:00
pk
dc3c7fb2ba
Actually enter executables where promised...
1996-03-14 00:11:29 +00:00
scottr
4d30db274f
Back out previous change.
1996-03-13 23:42:45 +00:00
mark
46e6b251f1
Raise the spl level while modifing the keyboard autorepeat and delay
...
rates.
Added missing = to test for alphabetic characters so that caps lock
applies to Z as well as A-Y.
1996-03-13 21:51:32 +00:00
mark
a2ff705689
Added code to handle indents in monitor definition files.
1996-03-13 21:47:15 +00:00
mark
cb6f3bb55c
Removed references to the kstack double mapping from the old debug
...
shell.
1996-03-13 21:45:54 +00:00
mark
32f0b6e092
curpcb is declared in pcb.h so don't declare it here.
...
removed debug printing when faulting in new page tables for the user
process stack.
1996-03-13 21:41:41 +00:00
mark
ba893940d3
savectx() now justs syncs the pcb, it no longer needs to copy the stack.
...
cpuswitch() simplified, now pushes and pulls a switchframe structure
on entry and exit. Added extra comments to indicate the states of
various registers throughout cpuswitch().
Added proc_trampoline function.
1996-03-13 21:39:10 +00:00
mark
5c857a37ef
Use the value returned from initarm() to set the stack pointer before
...
calling main().
1996-03-13 21:34:17 +00:00
mark
bbf2aa16b5
Removed kstack references. Updated code that sets up the pcb for proc0
...
now that double mapping has gone.
initarm() now returns the address to be loaded into the stack pointer
before calling main() to kick things off.
1996-03-13 21:32:39 +00:00
mark
d253d345a2
Since kernel stack double mapping no longer exists there is no
...
point in trying to perform a postmortem on it following an panic.
1996-03-13 21:26:52 +00:00
mark
52f490ccf6
No longer need to allocate hooks for kernel stack double mapping during
...
pmap bootstrapping.
1996-03-13 21:25:04 +00:00
mark
7045f47891
The kstack pte fields no longer exist so remove them.
1996-03-13 21:22:32 +00:00
mark
caf9dd3edc
Removed external declaration of kstack. No longer relevant now kstack
...
double mapping has been removed.
No longer need to fixup the trap frame address to take double mapping
into consideration.
1996-03-13 21:21:00 +00:00
mark
043ef25c23
Remove cpu_set_init_frame macro. This is no longer needed now
...
cpu_set_kpc() has been implemented.
1996-03-13 21:18:06 +00:00
mark
f9f45be67c
Removed all the double mapping code from cpu_fork().
...
Arrange for the child process to return to user land via child_return()
on leaving cpuswitch().
Added function cpu_set_kpc().
1996-03-13 21:16:15 +00:00
mark
8fbba52c87
Removed option __FORK_BRAINDAMAGE at last.
1996-03-13 21:10:43 +00:00
mark
ffa6eab259
Removed the kstack pte fields. These are no longer needed as the kernel
...
stack is no longer double mapped.
1996-03-13 21:08:36 +00:00
mark
f96ae702d7
Added switchframe structure to describe the stack frame pushed on the
...
stack at the beginning of cpuswitch().
1996-03-13 21:06:34 +00:00
mark
c353f32f10
_mcount() can now be declared inline.
1996-03-13 21:04:55 +00:00
mark
fb4eacf0a5
Removed comments describing debugging code that has long since gone.
...
Added new comments for parts of the undefined vector entry point.
1996-03-13 21:00:26 +00:00
mark
1e97524220
SCSI scanner device added to the list of SCSI devices configured.
1996-03-13 20:57:45 +00:00
mark
f6c46bc20c
Added hooks for the SCSI scanner device driver.
1996-03-13 20:55:21 +00:00
mark
d389b21913
Added boot time override for the memory test during probing. This
...
memory test apparently causes hangups on some etherH interfaces.
Until this can be debugged with an offending interface the memory
test can be bypassed.
1996-03-13 20:52:35 +00:00
mark
c117a7f133
Only call the debugger if DDB is defined.
1996-03-13 20:28:50 +00:00
scottr
eb473e57bd
Add second argument to longjmp() call.
1996-03-13 19:04:04 +00:00
jonathan
dc6fdf6cdc
First commit of Per Fogelstrom's port to the Acer pica r4400/isa machine.
1996-03-13 04:58:04 +00:00
scottr
b4225290a4
Use 851-specific instructions only #if defined(M68020).
1996-03-12 23:46:32 +00:00
is
905b10d4bc
M68060 additional frame formats and bits. Closes PR 1174.
...
This shouldn't break anything; I find ... grep ... all the relevant
kernel sources subdirecotry trees I could think of for the defines
that don't use the new FSLW or FPF6 prefix. But in case it does anyway,
tell me immediately.
1996-03-12 22:21:51 +00:00
scottr
6208752b50
Oops; fix typo.
1996-03-12 21:34:57 +00:00
scottr
d504ec531e
Add "options M68020" so that 68851-specific code is only compiled when
...
we want it (we don't support the 020 without an 851 anyway). Note that
M68030 no longer implies support for 020+851.
This also allows us to compile with -m68030 iff M68020 isn't specified
in the config file.
1996-03-12 21:06:22 +00:00
scottr
89f7d665d5
KNF.
1996-03-12 19:18:49 +00:00
scottr
61927fc337
Fix typo (pointed out by Shinya Taniguchi, PR 2203)
1996-03-12 06:01:16 +00:00
scottr
04de5b5b08
Back out the previous change; we'll trust adjustments to the clock
...
except on shutdown.
1996-03-12 04:34:46 +00:00
scottr
e11f39f4a9
Don't sync the RTC at shutdown time.
1996-03-12 04:24:47 +00:00
perry
1faa1f926b
close prs #2076 and #2159 : Install kernels have had DIAGNOSTIC and
...
KTRACE removed to make them fit on the floppies. All kernels have had
the comment typo "internally consistency" changed to "internal consistency".
1996-03-12 01:32:43 +00:00
phil
a3448dcd3e
Update it.
1996-03-11 23:14:43 +00:00
phil
509ba91070
have files.pc532 use include feature for scsi.
...
use MI ncr driver.
1996-03-11 23:09:09 +00:00
phil
26ee503b71
More precise DELAY function.
1996-03-11 22:50:17 +00:00
phil
6d5bf6a3ea
Support for move to MI ncr5380 driver.
1996-03-11 20:56:48 +00:00
phil
d92d9aa2f7
Move the pc532 ncr5380 driver to the MI one.
1996-03-11 20:50:50 +00:00
leo
2273338717
Add the include files and the atari kernel support for new format panic
...
dumps.
1996-03-10 21:54:44 +00:00
briggs
9e087f0d26
Pass 2nd arg to longjmp--even though it's ignored.
1996-03-10 19:55:22 +00:00
briggs
679b7627d0
Use label_t instead of jmp_buf and don't include setjmp.h.
1996-03-10 19:54:41 +00:00
leo
7da79507e9
Take the type of the attached monitor into account when selecting a
...
display-mode. Includes hack to make things work on non-VGA monitors.
1996-03-10 11:42:35 +00:00
cgd
0a6a29c792
update for new commulti->com attach interface. com ports at 'ast'
...
multiport cards no longer need 'flags 1', because the "don't set IEN"
requirement is communicated by the commulti_attach_args. com.c no longer
recognizes 'flags 1' at all.
1996-03-10 09:03:13 +00:00
ragge
f01a5dd8cc
We lost declaration of kernel_pmap_store somewhere, put it back.
1996-03-09 23:39:51 +00:00
ragge
3a07f941ba
Check on which SBI we are frobbing, not always 0.
1996-03-09 23:38:34 +00:00
ragge
24b2b310ae
Add support for ktracing syscalls.
1996-03-09 23:37:20 +00:00
ragge
4ee5419b8a
Panic on SBI fault.
1996-03-09 23:36:40 +00:00
ragge
c7282ed159
Change NTU to NHT.
1996-03-09 23:36:09 +00:00
ghudson
4e0c8707f7
To enable people to mount DOS partitions on disks with no NetBSD
...
partition, add the MBR partitions to the default (faked-up)
disklabel used by NetBSD if it can't find a real one. If the
type of the MBR partition is one of the common DOS ones, mark the
partition as having an MSDOS filesystem.
1996-03-09 20:52:54 +00:00
mark
852758c603
Include <sys/device.h> for rd_match_hook().
1996-03-09 17:26:01 +00:00
mark
fe9da42a4a
Removed include of <setjmp.h>
...
db_recover is now declared as label_t * instead of jmpbuf *
1996-03-09 17:22:12 +00:00
mark
a1ceaeba99
Disable interrupts when switching to UND32 mode to get the
...
UND32 mode stack pointer during a context save.
1996-03-09 17:15:46 +00:00
cgd
ea21ff117e
rather than doing something hairy in the print routine, to the
...
'logically right' thing: define a mainbus_attach_args union which is
all of the subdevices' bus attach args, together with the part that's
shared by all of them, a const char * (the bus name).
1996-03-08 21:55:47 +00:00
leo
77e4824146
Just prototyping.
1996-03-08 21:54:53 +00:00
leo
a91a46bc0f
When having a perfect match on the resolution, try to match the screen
...
depth as best we can.
1996-03-08 21:52:50 +00:00
leo
bb2b6106da
Fix a bug in the DCD handling. Because the state of the DCD line was
...
kept in a soft-copy that wasn't initialized on open, it sometimes happend
that a change of the carrier got lost. Also fixed some prototypes.
1996-03-08 21:50:40 +00:00
mark
30bb966970
Cleaned up the boot() function. Removed some of the garbage,
...
rewritten parts and made sure it uses cngetc().
Don't try and syn the discs or unmount filesystems if boot() gets
called while still cold.
1996-03-08 21:37:01 +00:00
mark
657b336f18
Restructured management of L1 page tables. Added support for
...
detaching an L1 page table from a process that is swapped out.
1996-03-08 21:21:47 +00:00
mark
713cab03b9
Updated comments, removed a lot of dead code and other old debugging
...
functions.
1996-03-08 21:08:39 +00:00
mark
700050b193
Added support for freeing level 1 page tables when cpu_swapout() is
...
called.
Added support for reallocating level 1 page tables when cpu_swapin() is
called.
1996-03-08 20:58:40 +00:00
mark
a3aaf2a2c0
Removed old (and commented out) diagnostic code from
...
undefinedinstruction() that verified the function was not
called in UND32 mode. We now always expect undefinedinstruction()
to be called in UND32 mode.
1996-03-08 20:54:25 +00:00
mark
7c5f0f1407
Removed declarations of external variables no used in the file.
1996-03-08 20:49:47 +00:00
mark
e03778a035
Updated irq names, replaced reserved irq 1 with irq softclock.
1996-03-08 20:44:13 +00:00
mark
c5e6adffe0
Removed dead wood from swi and undefined vector entry point code.
1996-03-08 20:37:59 +00:00
mark
d2a9bb0b96
Config files updated to specify interrupt numbers for wd, fd, com and
...
lpt drivers.
1996-03-08 20:35:28 +00:00
mark
ea1eb0f702
Added calls to spl_setmasks().
...
Remove the irq_setmasks() routine. This was coded in assembly months ago
and this C version is now out of date.
Added code for delivering IRQ_SOFTCLOCK.
1996-03-08 20:35:08 +00:00
cgd
8d459740a7
kill some 'notyet's so that <machine/bus.h> is used
1996-03-08 20:26:59 +00:00
cgd
91d7642d30
implement bus_mem_map() and bus_mem_unmap() functions.
1996-03-08 20:19:48 +00:00
cgd
0b56afadf3
make this idempotent. bus.h needs to include it, and other things which
...
may include something that includes bus.h may include it as well.
1996-03-08 20:15:23 +00:00
mark
2a40f64a5d
Fixed the formatting of the debug output.
1996-03-08 20:14:48 +00:00
cgd
6826c7bf48
bus memory and I/O space access functions/macros, to be used by
...
machine-independent code for more sane access to bus resources.
New functions will be added to this set, in the future, as appropriate,
but this is a good starting set. Defines:
bus_{io,mem}_{map,unmap}
bus_{io,mem}_{read,write}_{1,2,4,8}
functions, and several types to go with them.
1996-03-08 20:11:23 +00:00
mark
95b04c378b
Updated for new spl macros.
...
Added missing #ifdef DIAGNOSTIC round the checks in setrunqueue().
Remove dead commented out code fragments.
Removed checksumming of kernel stack during context switches.
1996-03-08 20:03:12 +00:00
mark
7a9dc6a41a
Inclusion of machine/psl.h is no longer dependant on _LOCORE being not
...
defined.
1996-03-08 19:08:28 +00:00
mark
5254468ebb
setjmp() and longjmp() now use a buffer whose size is that of label_t
...
rather than one that was 44 bytes bigger. No wonder DDB was not working
properly.
1996-03-08 19:03:11 +00:00
mark
33405882d3
The microtime() function now works fine all the time.
...
Removed some old commented out code.
1996-03-08 18:57:41 +00:00
mark
868a5d45f6
Updated diagnostic code regarding the changes in the splxxx() functions
...
and determining the current spl level.
1996-03-08 18:54:55 +00:00
mark
85d00ef7b5
Added a couple of miscellaneous spl functions e.g. dumping spl
...
masks.
1996-03-08 18:41:52 +00:00
mark
2d5be5faa9
Commit of the new assembly spl functions splx(), raisespl() and
...
lowerspl() to go with the new spl macros in psl.h
1996-03-08 18:03:15 +00:00
mark
90a4655005
Added files for the generic sbic driver. (sbic.c)
...
Added files for the asc driver (asc.c)
Added assembly file for spl functions (spl.S)
Added machine dependant debugger commands file. (db_machdep.c)
1996-03-08 18:02:23 +00:00
mark
409de3efcc
spl.c is no longer needed. Most of its functions have been replaced
...
with macros in psl.h. The spl functions splx() raisespl() and lowerspl()
are now coded in assembly.
1996-03-08 17:50:46 +00:00
mark
9deb24c84d
Corrected spelling mistakes in comments.
1996-03-08 17:11:13 +00:00
mark
57fbb17f0e
Replaced the splxxx() functions prototypes with macros.
...
Added prototypes for two new functions raisespl() and lowerspl().
Added definititions of the various spl levels.
1996-03-08 16:35:17 +00:00
mark
50b27325dd
Removed all the early (and now redundant) keyboard polling and interrupt
...
buffer. The new polling function for cngetc() works a lot better and
is stable.
1996-03-08 16:28:54 +00:00
mark
7b3a5bb292
Fixed prototype declaration of shell().
1996-03-08 16:25:07 +00:00
mark
1014c385d8
Added NetBSD tag.
1996-03-08 16:24:51 +00:00
mark
00af8622e0
Added NetBSD tag. Reformatted source kernel in line with the style
...
guide.
1996-03-08 16:22:38 +00:00
ragge
ba7706dd3c
Files to generate usable console RL02 packs on 8600.
1996-03-08 12:41:33 +00:00
ragge
3ac9ff6af4
Support for the RL02 disk at the PDP11 frontend console added.
1996-03-08 12:32:47 +00:00
mycroft
2732f4510b
Rearrange boot() slightly.
1996-03-08 11:40:28 +00:00
mycroft
45ceba49fd
Use label_t, not jmp_buf.
1996-03-08 06:49:45 +00:00
mycroft
1a55d915ae
Don't call dvma_kvtopa() with a null pointer.
1996-03-08 06:17:35 +00:00
mycroft
8dbac07c10
Add a message to help us debug Linux compat.
1996-03-08 06:00:53 +00:00
mark
095bb565ba
Files for the new Acorn SCSI driver that uses the generic SBIC driver
...
code. This is a much better version that does not trash your HD.
1996-03-07 23:54:28 +00:00
mark
3506c48c2a
opps forgot to remove this as well. Part of the old and BUGGED Acorn
...
SCSI driver.
1996-03-07 23:50:33 +00:00
mark
169a40e0cf
These files represent the old and BUGGED Acorn SCSI driver.
...
They are replaced with a new Acorn SCSI driver based on the SBIC
generic SCSI code.
1996-03-07 23:45:24 +00:00
ragge
6e51b1e47e
Support for VAX 8600/8650 added. Works with lots of Unibus adapters,
...
and will probably work with Massbus adapters as well. (Not tested,
but it's the same code as for 11/780). Ubareset's may cause crashes
on 8600 also like 11/780, but they are more uncommon. No support
for console RL02 yet, but it's likely to come.
1996-03-07 23:22:34 +00:00
ragge
3f09ddf89f
Fix of MicroVAX clock chip code, so that time sets right after reboot.
...
Fix done by Ken Wellsch.
1996-03-07 23:03:03 +00:00
briggs
1c817d1c3c
Fix a typo in last.
1996-03-07 20:47:01 +00:00
leo
6da2ce259c
Allow for a machine dependent match function - rd_match_hook()
1996-03-07 10:25:28 +00:00
briggs
ddfeeb8c2d
Add option to try linked commands on all devices for PUMA.
1996-03-07 02:48:33 +00:00
briggs
7c44b1180f
Disable SCSI linked commands, but allow kernel option to override.
1996-03-07 02:26:37 +00:00
jtk
7492f0d7f1
speaker takes one port, so declare it as such in isa_attach_args
...
fixes pr#2178
1996-03-07 00:54:14 +00:00
jtk
ff6687748a
speaker device uses a port, so declare it as such in all the config
...
files
1996-03-07 00:48:34 +00:00
mark
385c194369
Added #ifndef guards round the timeout macros so values can be
...
overridden in the config file.
1996-03-06 23:56:59 +00:00
mark
34e0ef97c0
Code reformatted to make it a bit more readable and brings it inline
...
with a lot of the style guide.
1996-03-06 23:53:13 +00:00
mark
ed2051c4d9
Use cngetc() instead of WaitforKey().
1996-03-06 23:52:15 +00:00
mark
27284def2a
Removed a lot of redundant routines used during debugging.
...
Eventually this file can go completely when DDB is completely
working.
1996-03-06 23:50:14 +00:00
mark
8429ee71c5
Initial commit of generic sbic (WD3393) SCSI driver code based on the
...
amiga sbic driver.
1996-03-06 23:44:09 +00:00
mark
619d2dcd72
Removed redundant code related to managing a history buffer
...
in the readstring() routine.
1996-03-06 23:44:07 +00:00
mark
a66ed3abac
Initial commit of generic sbic (WD3393) SCSI driver code based on the
...
amiga sbic driver.
1996-03-06 23:44:06 +00:00
mark
a629b79a66
Fixed reporting of errors when claiming podule interrupts.
1996-03-06 23:33:14 +00:00
mark
b702c67c74
Pickup IRQ number from configuration file via mainbus_attach_args
...
instead being fixed in a header file.
1996-03-06 23:30:58 +00:00
mark
e766702f7e
Fixed IOMD identification during device probing.
1996-03-06 23:26:20 +00:00
mark
bdb7e8955c
Reformatted code to suit style guide.
...
Fixed IOMD identification during driver probing.
1996-03-06 23:24:52 +00:00
mark
7f57d7bda6
Commented out macros for IRQ bits that are now set in the config file.
...
Added definition of the IRQ_SOFTCLOCK bit.
1996-03-06 23:22:56 +00:00
briggs
d504670861
Fix for serial console handling from Bill Studenmund.
1996-03-06 23:22:41 +00:00
mark
a88b7466b9
Added structures to describe RISCiX partition tables.
1996-03-06 23:17:51 +00:00
mark
4da86891fc
Add support for software single stepping.
...
Define SOFTWARE_SSTEP for the ddb code.
1996-03-06 23:16:54 +00:00
mark
daf2144c3a
Removed redundant boot parameters relating to swap sizes.
1996-03-06 23:11:36 +00:00
mark
49cf80b1b2
Initial commit of machine dependant debugger functions.
1996-03-06 23:08:36 +00:00
mark
bcfc2f794a
Fixed the typedef of label_t to be 11 words as required by setjmp and
...
longjmp in locore.S
1996-03-06 23:04:04 +00:00
mark
f380bafdee
Added to code fixup the pc on entry to the debugger.
...
Added funtions for software single stepping.
1996-03-06 23:01:49 +00:00
mark
e6e9c2985e
Added stack frame structure for debugger tracebacks.
1996-03-06 22:53:50 +00:00
mark
32e37aa2c9
Code now actually performs a stack traceback.
1996-03-06 22:49:51 +00:00
mark
9e18e78df6
Fixed multiple miscellaneous bugs. Fixed the case of some instruction
...
operands. Added support for dissassembly of more of the instruction set.
1996-03-06 22:46:37 +00:00
mark
aeec9c8ac1
Added code to locate the NetBSD disklabel on disks with RISCiX partition
...
tables.
1996-03-06 22:43:11 +00:00
is
ce4541b2da
Altais graphics board support, and some nicer formatting of preconftab.
...
Closes PR #1812 by myself.
1996-03-06 20:13:28 +00:00
is
006fe839fe
Back out change intended for netbsd-1-1 and accidentally committed here
1996-03-06 16:40:16 +00:00
leo
957e1c5c7d
Use files.scsi
1996-03-06 14:47:44 +00:00
is
3020e66dd5
Fix problems with fast CPUs and Picasso boards. Patches originally by,
...
Klaus Burkert <crest@arkon.dontpanic.sub.org>, sent in by Ezra Story.
Closes port-amiga/2135.
k
1996-03-05 18:08:33 +00:00
veego
e77f3c0a27
ups, ite5 is at grf5 and not at grf4
1996-03-05 17:46:23 +00:00
mycroft
0903ac5cd2
Do an async_update() iff the output buffer is empty.
...
Make the IOPL handling #ifdef COMPAT_1[01].
1996-03-05 12:57:30 +00:00
mycroft
0c231d0e0d
Update the CRT start registers asynchronously.
1996-03-05 11:38:31 +00:00
pk
90fb0cc9da
Don't come down so hard on targets that ignore SDTR msgs.
1996-03-05 09:29:58 +00:00
thorpej
85720fdf67
Add a blurb about the EXTMEM_SIZE option to the example kernels, disabled
...
by default.
1996-03-05 01:32:11 +00:00
thorpej
b65bdb63d6
Add an EXTMEM_SIZE option to set the size of extended memory on systems
...
that lie about it. Deals with PRs #1319 and #1831 .
1996-03-05 01:28:51 +00:00
thorpej
ae5cde21bd
RCS id police.
1996-03-05 00:37:24 +00:00
is
04145bfde8
Fix for newer S3 chipsets by Matthias Scheler (from -current).
1996-03-04 20:36:56 +00:00
chuck
9f330ed6e0
Fix two bugs reported by Don Koch <aardvark@poirot.krl.com> (PR#2168).
...
(the xd bugs also apply to the xy driver...)
[1] check return value from malloc() for NULL before trying to bzero it.
[2] use "=" rather than "|=" when writing to CSR (otherwise you may
ACK something you don't mean to!).
1996-03-04 20:25:32 +00:00
chuck
e4c86dc3f8
Fix two bugs reported by Don Koch <aardvark@poirot.krl.com> (PR#2168).
...
[1] check return value from malloc() for NULL before trying to bzero it.
[2] use "=" rather than "|=" when writing to CSR (otherwise you may
ACK something you don't mean to!).
1996-03-04 20:22:50 +00:00
chuck
9bb0e5dba5
Fix two bugs reported by Don Koch <aardvark@poirot.krl.com> (PR#2169)
...
[these bugs apply to the xy as well as the xd driver]
[1] check return value from malloc() for NULL before trying to bzero it.
[2] use "=" rather than "|=" when writing to CSR (otherwise you may
ACK something you don't mean to!).
1996-03-04 20:13:39 +00:00
chuck
9fee13d104
Fix two bugs reported by Don Koch <aardvark@poirot.krl.com> (PR#2169).
...
[1] check return value from malloc() for NULL before trying to bzero it.
[2] use "=" rather than "|=" when writing to CSR (otherwise you may
ACK something you don't mean to!).
1996-03-04 20:11:32 +00:00
is
7873fac590
Grr... my fault when send-pr'ing the "CPU too fast" error patch. The chip
...
is called BT458, not BT478.
1996-03-04 19:49:11 +00:00
cgd
c8487c701e
reorganize mapping register definitions
1996-03-04 19:30:50 +00:00
cgd
18ec26aa21
add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
...
execpt without quotes. meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
mycroft
7f1ba9f148
Update for changed DMA interface.
1996-03-04 04:01:03 +00:00
cgd
fedca4f133
Attach isa, eisa, and pci to mainbus now, rather than root. The i386
...
now has a single device tree (rather than a forest). Also, attach
EISA only if it's present, and attach in order: PCI, EISA, ISA (most
specific to least specific).
1996-03-04 03:25:48 +00:00
thorpej
9029778d04
RCS id police.
1996-03-03 16:54:17 +00:00
thorpej
b2c3f54207
Fix logic errors in new console probe code that caused framebuffers
...
outside of "internal i/o" space to not even have a chance at console-hood.
Fix tested by Thorsten Frueauf <frueauf@ira.uka.de>, and offered with
my sincerest apologies that the bug ever existed in the first place.
1996-03-03 16:48:52 +00:00
ragge
c2ce0848e2
Added ns_cksum.c.
1996-03-03 11:56:33 +00:00
ragge
c76bb64058
Machine-optimized version of ns_cksum.c.
1996-03-03 11:54:37 +00:00
ragge
c22fc0bce4
Enable label_t.
1996-03-03 11:21:31 +00:00
ragge
e82da18ec2
Fix include file ordering.
1996-03-03 11:18:59 +00:00
ragge
f2bcddae7f
Fix fuswintr/suswintr arguments to match prototype.
1996-03-03 11:17:59 +00:00
thorpej
570949e0e4
Catch up with ITE data structure changes.
1996-03-03 04:23:33 +00:00
jtk
8c395495bf
set ia->ia_iosize to 0 so that the probe code doesn't spit out lots of
...
gunk.
1996-03-03 04:12:48 +00:00
pk
855b6def84
Add ns_cksum.
1996-03-02 23:55:17 +00:00
ragge
7ade5ebd76
Files needed to create boot floppies for 11/780, most of them
...
taken directly from 4.4BSD.
1996-03-02 17:57:34 +00:00
ragge
ffc8953cd7
Change config delay's to more reasonable values.
1996-03-02 14:29:23 +00:00
veego
39aeb2aa25
console driver for the CyberVision64
1996-03-02 14:28:51 +00:00
ragge
5d89814116
Changes due to 11/780 support. Raise splimp() to BR7.
1996-03-02 14:27:52 +00:00
ragge
cef093b42e
Add VAX780 support to the boot program.
1996-03-02 14:22:57 +00:00
ragge
8fbcb8ce5a
Add VAX780 and DHU11 to the GENERIC file. Put the corresponding
...
file lines in files.vax.
1996-03-02 14:19:47 +00:00
ragge
10fe8f1971
All devices can now be in GENERIC.
1996-03-02 14:14:05 +00:00
ragge
827892239a
Add support for DW780. Note that ubareset's don't work properly.
...
This is not a problem on other Unibus adapters, but DW780's do
ubareset's more often. This needs to be fixed by someone someday.
1996-03-02 14:09:57 +00:00
ragge
89e32834cd
Fix some too long delays. Set some structs volatile that otherwise
...
caused hangs during autoconfig.
1996-03-02 14:06:03 +00:00
veego
18fd2ce9c2
Updated for the new CyberVision64 console
...
gen_cvtab.c is no longer needed
1996-03-02 14:02:53 +00:00
veego
6160a6474d
Updated for the new CyberVision64 console
...
and a small cleanup in the GENERIC config
1996-03-02 14:00:31 +00:00
ragge
508f81daca
Support for VAX 11/780 - 11/785 system types added.
...
There are no support (yet) for the RX01 console floppy,
even if it is actually needed to create boot floppies.
(The arff utility is also missing, so...)
1996-03-02 13:45:34 +00:00
ragge
a14bb8a710
Add a #ifdef TUDEBUG around a printf statement.
1996-03-02 13:41:24 +00:00
ragge
c45af1134a
Unibus/Q22 bus device driver for DHU-11 serial card.
...
Written by Ken Wellsch. (kcwellsc@math.uwaterloo.ca )
1996-03-02 13:30:53 +00:00
cgd
1c5d7babe5
Clean up tabbing/spacing in defns of MACHINE, MACHINE_ARCH, and MID_MACHINE.
1996-03-01 23:30:08 +00:00
scottr
9aebe01038
Add newlines to CPU class notices
1996-03-01 21:49:49 +00:00
is
c1e8e92697
"major" declarations which got lost when the scsi stuff was changed to
...
include ../../../scsi/conf/files.scsi
1996-03-01 19:42:26 +00:00
scottr
9e8b6a032a
Don't try to make dependencies for SFILES if it isn't defined.
1996-03-01 17:03:17 +00:00
thorpej
9f2837ac9b
"oops", forgot to check this in...add entries for the cgfour and cgeight.
1996-03-01 08:11:00 +00:00
thorpej
f579d1a485
Fix an operator precedence botch. *sigh* This just hasn't been my week.
1996-03-01 07:44:43 +00:00
pk
abd3cf4df2
Don't reset `xs->retries'.
1996-02-29 23:33:48 +00:00
pk
bf59310f69
Fix typo, and bring back VA hole handling.
1996-02-29 22:15:13 +00:00
cgd
3d67685d36
Do not build vnode_if.[ch] for each kernel. Build them once, like the
...
various syscall sources/headers, and just compile them. From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
leo
e800077389
Added to build the bootloader stuff.
1996-02-29 11:41:31 +00:00
leo
48f5b02304
NetBSD/Atari bootcode by Waldi Ravens.
1996-02-29 11:35:46 +00:00
leo
e538eed242
NetBSD/Atari bootcode by Waldi Ravens.
1996-02-29 11:35:05 +00:00
thorpej
93dff23036
Back out the "don't use DMA if SCSI_POLL is set" saftey-net. The
...
MI 5380 code did something I didn't really expect, which caused DMA
to disable itself if only DMA was enabled. *grumble*
1996-02-29 03:28:38 +00:00
gwr
2de7b2e5cb
update PMAP_PREFER
1996-02-28 22:44:33 +00:00
pk
8bea3309c3
Fix typo
1996-02-28 22:09:27 +00:00
thorpej
2d885d15e9
Fixup an RCS id.
1996-02-28 20:54:50 +00:00
thorpej
50c8d6cdb0
Oops...missed to places where I could have used CPU type macros.
1996-02-28 20:53:02 +00:00
thorpej
8caec41719
RCS id police.
1996-02-28 20:49:18 +00:00
briggs
883ff3e7f3
Changes from Walter Ruetten for P550 support.
1996-02-28 04:14:05 +00:00
cgd
379b6eadf4
pci devices are now specified like "foo* at pci? dev ? function ?". also,
...
add support for PPB's and secondary PCI busses, where appropriate.
1996-02-28 02:02:29 +00:00
cgd
0bcfb3598b
update for adjustments to ISA and PCI 'files' files
1996-02-28 01:58:25 +00:00
cgd
df03361e4b
update for new method of attaching isa/pci busses
1996-02-28 01:54:44 +00:00
cgd
591c6fd2cd
make PCI bus match/attach and sub-device attachment machine-independent.
...
(remove that code from this file.)
1996-02-28 01:50:02 +00:00
cgd
f5f5831829
make ISA bus match/attach and sub-device attachment machine-independent.
...
(remove that code from this file.)
1996-02-28 01:49:35 +00:00
gwr
51815fdcd6
Kill a mis-matched and unnecessary declaration.
1996-02-28 01:48:48 +00:00