Commit Graph

45606 Commits

Author SHA1 Message Date
kenh
d5b0705044 wdctl -> atactl 1998-11-19 23:54:59 +00:00
kenh
510830d2c3 Rename WDCIOCCOMMAND (and related structures) to ATAIOCCOMMAND 1998-11-19 23:44:20 +00:00
kenh
5a79273062 Rename wdcio->ataio.h, as per ICB cabal discussion. 1998-11-19 23:41:09 +00:00
kenh
396aa17f77 Sigh, my bad. Check for chp->wdc being NULL before trying to deference it.
(I didn't realize the ISA wdc front-end doesn't fill in chp->wdc).
1998-11-19 22:50:21 +00:00
thorpej
baec89716d Add a reference to the adapter when the scsibus is opened, and delete it
when it is closed.
1998-11-19 22:28:20 +00:00
thorpej
54b52fb5f6 Add a reference to the adapter before probing the bus, and delete it
once we are done probing.
1998-11-19 22:25:56 +00:00
thorpej
3b068a6c78 Adapt to the new scsipi_adapter interface. 1998-11-19 21:53:32 +00:00
thorpej
5f0577babc Adapt to the new scsipi_adapter interface. 1998-11-19 21:43:00 +00:00
tron
f9ace50af3 Add manual pages for "named-bootconf". 1998-11-19 21:15:37 +00:00
tron
90ce0839c0 Add "usr/sbin/named-bootconf". 1998-11-19 21:14:07 +00:00
tron
d993679e1b Add manual page for "named-bootconf". 1998-11-19 21:11:45 +00:00
tron
0f16f07e2d Include "named.conf" instead of "named.boot". 1998-11-19 20:48:10 +00:00
thorpej
e87fa217f4 Add support for reference counting and enabling/disabling SCSI and
ATAPI controllers.  This will eventually be used for power management
of e.g. PCMCIA SCSI and IDE controller cards.
1998-11-19 20:08:52 +00:00
tron
c801fd815d BIND 8 is the default now. 1998-11-19 19:53:33 +00:00
thorpej
afc84158d1 Back out revision 1.40. That change couldn't have POSSIBLY worked, since
when wdcprobe() is called, the wdc_softc pointer in the channel_softc
hasn't even been intialized!
1998-11-19 19:52:42 +00:00
kenh
ca505b6b88 Build wdctl(8). 1998-11-19 19:52:25 +00:00
tron
512419d83a Fix comment. 1998-11-19 19:51:47 +00:00
kenh
5700b6e15f wdctl(8) - A command for manipulating WD/IDE/ATA devices.
Currently only understands "identify" and the power management command set.

Code has been liberally borrowed from scsictl(8).
1998-11-19 19:50:31 +00:00
tron
f6d7c60a19 BIND 8 is the default now. 1998-11-19 19:47:33 +00:00
kenh
9bc9937238 Add support for the WDCIOCCOMMAND ioctl. This allows the sending of
arbitrary ATA commands from user-space.  Concepts mostly taken from
the implementation of the SCIOCCOMMAND ioctl.
1998-11-19 19:46:12 +00:00
kenh
e9c417a673 Definitions used by the WDCIOCCOMMAND ioctl. Mostly inspired by the
SCIOCCOMMAND ioctl.
1998-11-19 19:44:34 +00:00
kenh
0c2d06b6ae Add support for running scripts for line power to battery transitions
(and vice versa).
1998-11-19 19:39:14 +00:00
mrg
db3051d720 fix problems in many d_mmap routines:
- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!
1998-11-19 15:38:20 +00:00
he
db360b9524 Bump ramdisk size by 100 blocks -- ran out of space. 1998-11-19 11:43:57 +00:00
sakamoto
4f70b04b16 Add bebox install floppy and sysinst files. 1998-11-19 08:58:02 +00:00
dbj
044d782820 Removed unused buserr and addrerr declarations. 1998-11-19 08:32:26 +00:00
sakamoto
aed3c9dfaa Add bebox file. 1998-11-19 07:48:21 +00:00
dbj
746d687977 Set UVM to yes by default for next68k userland compiles. 1998-11-19 07:43:10 +00:00
nisimura
fec5fef8a5 - Fix an error in cursor color manipulation. 24bit RGB value was mistakenly
assigned to unsigned short variable.
- XXX PMAG-DV is supposed to emit virtical retrace interrupt, which can be
used for colormap/cursor update just like other TURBOchannel framebuffers.
1998-11-19 06:52:49 +00:00
jonathan
20cf682664 kernel config file for pmax install via ramdisk. 1998-11-19 06:05:11 +00:00
mrg
b4f6a27f69 comment how a diag test is possible broken. 1998-11-19 05:23:46 +00:00
mrg
d39ed4e552 check the return value of d_mmap before pmap_phys_address() gets hold of it. 1998-11-19 05:23:26 +00:00
kenh
1461c4fb20 __wdccommand_done() needs to call wdcstart(), otherwise you can run
into deadlocks when using wdc_exec_command().
1998-11-19 04:07:54 +00:00
thorpej
fd684d874c Protect against multiple inclusion. 1998-11-19 03:45:39 +00:00
ross
3f24fce866 More include shuffling. 1998-11-19 02:53:47 +00:00
ross
b0f44850f5 Don't insist on an FFS if we are in contiguous block (-b) mode. 1998-11-19 02:44:40 +00:00
ross
d963824bdc #include <machine/intrcnt.h> 1998-11-19 02:35:39 +00:00
ross
bc9cb58205 Fix interrupt map for baseboard bridge. 1998-11-19 02:33:37 +00:00
ross
47c613e7dd #include <machine/alpha.h> 1998-11-19 02:29:49 +00:00
ross
4ea2865631 +#include <machine/alpha.h>
+#include <machine/intrcnt.h>

Also, this module gets the junk I/O IDE channel frobber that used to
be in dec_axppci_33.c, so it can be called for the eb64plus also.
1998-11-19 02:28:56 +00:00
ross
372977cf54 Nuke the final holdout of INTRNAMES_DEFINITION.
Do a nice gas.new .rept/.endr loop and also pad each string with spaces
in case a platform actually does want to rewrite the names.

G/C some EVCNT_COUNTERS stuff.
1998-11-19 02:27:29 +00:00
ross
b9fa3646cb #include <machine/intrcnt.h>
#include <machine/alpha.h>
g/c some EVCNT_COUNTERS stuff.
1998-11-19 02:23:15 +00:00
ross
c6c1b0098f #include <machine/alpha.h> 1998-11-19 02:22:01 +00:00
ross
ee226b43f1 Include <machine/alpha.h> and do not directly include <bus.h> 1998-11-19 02:20:07 +00:00
ross
7221bd8229 +#include <machine/alpha.h>
-#include <machine/bus.h> (done for you by alpha.h)
Take the junk I/O chip IDE channel frobber and move it to machdep.c.
1998-11-19 02:05:07 +00:00
ross
d3509bcc51 Clarify the 1000/1000A situation: two variation tables and an all-purpose
backup platform.family string.
1998-11-19 02:02:45 +00:00
ross
9b7ad6c70c #include <machine/alpha.h> 1998-11-19 01:59:39 +00:00
ross
8470625657 New module to hold the alpha-specific prototypes that don't need to be
exported to the MI kernel. Almost everything here was formerly in cpu.h.
Optionally, this module could in the future be used to #include anything
that is always needed by arch/alpha modules.
1998-11-19 01:57:56 +00:00
ross
19a4c3110c Rip out 70 lines of (all of) the port-alpha-specific decls and prototypes.
They should not be visible to the MI kernel and the MI kernel shouldn't
depend on this junk.  Most of it moves to new module <machine/alpha.h>.

Leave badaddr() here, though, because it's used so widely.
1998-11-19 01:51:40 +00:00
ross
e2e3ee52ae Nuke the giant ugly-as-sin per-platform INTRNAMES masterpiece.
I just cannot add one more platform without getting sick.
Instead, we do just one table for all platforms. More-or-less,
it was only the A12 that even named it's individual interrupts anyway.

Also, prototype set_iointr() here. It's a slightly odd place, but 10*
better than the old place it was, and this file is included by exactly
the perfect set of .c files for set_iointr() visibility.
1998-11-19 01:48:04 +00:00