dfr
15d5de14dc
Add some convenience functions for accessing device memory.
...
Add a DDB command to allow access to inb/inw/inl from the debugger.
1998-07-22 08:33:30 +00:00
dfr
cc3eb8a152
Merge KN20AA support from Andrew Gallatin.
...
Add support for device memory access.
Add support for ISA irqs.
1998-07-22 08:32:17 +00:00
dfr
f103a50fde
Move the mcclock from root to isa.
1998-07-22 08:30:25 +00:00
dfr
eb3dbdd0de
Add a simple ISA bus. No support for memory mapped devices or DMA as yet.
1998-07-22 08:29:26 +00:00
dfr
9cb558a8da
Add sio support.
1998-07-22 08:28:24 +00:00
dfr
8964f60d8e
Add platform functions for manipulating PCI irqs.
...
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-22 08:27:56 +00:00
dfr
9bc86e47bd
Add declaration of {aquire,release}_timer2().
1998-07-22 08:26:23 +00:00
dfr
b5978db404
Add macros and chipset support for accessing device i/o memory on the alpha.
1998-07-22 08:25:39 +00:00
dfr
5dfe812895
Add KN20AA support.
...
Add entries for syscons.
1998-07-22 08:24:39 +00:00
dfr
d2bedeabab
Tweaks to stop config(8) warnings and to avoid an unfinished experiment of
...
mine.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-22 08:23:26 +00:00
dfr
90402a6db5
Support header for sysbeep() implementation.
1998-07-22 08:21:36 +00:00
dfr
db52332709
Make ptrace single steps over branches work as intended.
1998-07-22 08:20:57 +00:00
dfr
6651610ba2
Add support for sio's soft interrupts.
1998-07-22 08:20:15 +00:00
dfr
9249ba813d
Support the DEC_KN20AA platform (AlphaStation 500 or 600).
...
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-22 08:19:39 +00:00
dfr
028c8a1c5b
Merge changes from Andrew Gallatin to support different CIA based platforms.
...
Add code to identify and attach either serial or VGA console as appropriate.
1998-07-22 08:18:34 +00:00
dfr
385f0cb1c1
Add code from i386 to support sysbeep(). Doesn't work quite right but it
...
makes a noise.
1998-07-22 08:16:34 +00:00
dfr
dd7b21d1e7
Change siocn{put,get}c to siogdb{put,get}c to allow a serial console on one
...
line with serial debugging on another line.
1998-07-22 08:15:34 +00:00
phk
101e6d7c92
There is a comment in vm_param.h which doesn't belong to the
...
code still left in there. The macros it describes disapeared some-
time since 4.4BSD lite.
PR: 7246
Reviewed by: phk
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
1998-07-22 06:21:55 +00:00
kato
991631c4d1
Sync with sys/i386/i386/userconfig.c revision 1.105.
1998-07-21 12:07:49 +00:00
kato
f114fd095b
Sync with sys/i386/conf/files.i386 revision 1.199.
1998-07-21 12:07:02 +00:00
kato
96af576b1e
Sync with sys/i386/isa/diskslice_machdep.c revision 1.29.
1998-07-21 12:06:04 +00:00
msmith
bb5c239654
Add the 'cs' driver for Crystal Semiconductor CS89x0 devices. This
...
supports PnP and if_media. I've been running a slightly older version
here for several weeks now.
Submitted by: Maxim Bolotin <max@rsu.ru>
1998-07-20 20:00:43 +00:00
msmith
164c653979
Add support for PCNet PCI chips that only work when we talk to them as ISA
...
devices. Specifically fix the case for the Hitachi version as used in
their VisionBook models.
Submitted by: Ted Faber <faber@isi.edu>
1998-07-20 17:33:01 +00:00
bde
8f5a35b01d
Initialize more defaults for the in-core label for the whole disk.
...
Callers only need to initialize d_secperunit now, but should
initialize d_type (to reduce the IDE/SCSI confusion), d_typename
(put the disk model in it) and geometry info (if it isn't completely
ficticious). Callers will soon need to initialize d_secsize.
1998-07-20 14:35:27 +00:00
bde
f1f93d2703
Cleaned up rev.1.39 - the shadowing variable should have just gone away.
1998-07-20 13:51:11 +00:00
bde
79b1340c5b
Moved allocation of the slices struct to the right place. Initialize
...
everything in it (the devsw pointers were not initialized early or at
all for the !DEVFS case, but this was harmless on i386's).
1998-07-20 13:39:45 +00:00
dfr
fc4d618c2d
Make sure the link level sockaddr size is rounded up correctly on alpha.
1998-07-20 13:21:56 +00:00
bde
6bdff03bd1
Backed out rev.1.43 (removed nonsense SLICE ifdef). SLICE is
...
normally only defined in opt_devfs.h, so testing it before including
anything is normally a no-op. Undef'ing DEVFS before including
opt_devfs.h is similarly useless. OTOH, DEVFS support for sliced
but not SLICEd (despite defined(SLICE)) devices is either harmless
(if there are no such devices, then nothing in this file is used)
or necessary (otherwise). It even seems to work for sliced cd
devices.
1998-07-20 12:37:59 +00:00
julian
b2313fb5d3
Start cleaning up the aynchronous probing code for SLICE handlers.
1998-07-20 04:12:40 +00:00
kato
f2d843cbf5
Sync with sys/i386/isa/isa.c revision 1.113.
1998-07-19 15:04:26 +00:00
kato
56b9383d16
Sync with sys/i386/isa/fd.c revision 1.119.
1998-07-19 15:03:49 +00:00
jkh
d4548c1c49
A slap on the wrist to Dag-Erling, who plainly did not test this before
...
committing it. There was a large syntax error at line 404 which could
not possibly have allowed compilation. :)
1998-07-19 11:12:14 +00:00
bde
39d6cd0751
Stop physical DMA for the non-auto case in isa_dmadone(). This fixes a
...
small part of a bug suite beginning in the SLICE probes but mostly in the
floppy driver. This is a quick fix: the auto case shouldn't be special;
DMA should also be stopped in isa_dma_release(); isa_dmastop() probably
shouldn't exist; common DMA registers should not be accessed without
locking.
1998-07-19 04:22:55 +00:00
alex
22c2ae2a77
Don't log ICMP type and subtype for non-zero offset packet fragments.
1998-07-18 23:27:15 +00:00
des
88f64384b3
Allow dump devices with dkpart != SWAP_PART on devfs/slice
...
systems. This test should probably be removed altogether.
See CVS log entries for revisions 1.97 and 1.98.
1998-07-18 21:42:55 +00:00
fenner
c45b137a7b
Undo rev 1.41 until we get more details about why it makes some systems
...
fail.
1998-07-18 18:48:45 +00:00
bde
7466f92c1a
Fixed error handling after a seek error that can't happen. When the
...
controller reports a successful seek, it is very unlikely to report
seeking to a cylinder other than the one requested, but we check for
this, and botched the error handling for the requested_cylinder != 0
case. This error happened when the bug fixed in rev.1.52 of <sys/buf.h>
caused the head of buffer queue to change to one starting on a different
cylnder - the requested cylinder was found, but it wasn't what we
thought we requested. The fix is simply to arrange to reset the state
machine.
Corruption of the buffer queue seems to only have been a problem in the
floppy driver. Other drivers dequeue the head of the queue before doing
physical i/o on it, so the corruption at worse broke the elevator sort
order. Dequeueing breaks it anyway.
1998-07-18 03:15:33 +00:00
joerg
701b445509
Place a fat warning that floppy tapes should be configured as drive 2
...
only (normally).
PR: kern/7176
1998-07-17 06:45:26 +00:00
gibbs
a0f37891cd
Correct SEEPROM checksum calculation when multiple checksum attemps are made.
...
Pointed out by: "Jose M. Alcaide" <jose@we.lc.ehu.es>
1998-07-16 19:33:43 +00:00
dfr
024928fa98
Simplify access to PCI config registers.
1998-07-16 13:38:35 +00:00
kato
4ec71fc104
Merge from sys/i386/isa/syscons.c (1.265->1.266).
1998-07-16 10:29:11 +00:00
kato
cf1246d9d5
Sync with sys/i386/isa/fd.c revision 1.118.
1998-07-16 10:27:49 +00:00
kato
2092b7604a
Sync with sys/i386/i386/userconfig.c revision 1.104.
1998-07-16 10:26:59 +00:00
kato
c628afbbc2
Sync with sys/i386/isa/pcaudio.c revision 1.42.
1998-07-16 10:25:50 +00:00
dfr
e5c5e26ecc
Point at the right place for alpha registers.
1998-07-15 20:18:00 +00:00
dfr
43439d1572
Make ptrace work.
1998-07-15 20:16:28 +00:00
dfr
988e0b33fd
Tweaks for cross-building from NetBSD/alpha.
...
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-15 20:12:54 +00:00
dfr
583ae31e95
Add some debug code.
1998-07-15 20:07:33 +00:00
dfr
f14b57be26
An mc146818a clock attached to an isa bus.
1998-07-15 19:21:31 +00:00
dfr
0b4d04df93
Linker script for alpha kernel.
1998-07-15 19:19:24 +00:00