Commit Graph

16553 Commits

Author SHA1 Message Date
briggs 13175a1a16 Use an offset parameter when loading the reg_map--some cards use the "other"
16 bits of the words.
1997-04-14 00:44:01 +00:00
jtk 4ed6c3b834 add support for ACC Micro host bridges 1997-04-13 22:48:27 +00:00
cgd c16b14abf3 use pci_mapreg_info rather than pci_mem_find 1997-04-13 22:09:32 +00:00
cgd 78b378b2bc create pci_mapreg_info() which simply gets mapping register information.
It's used by pci_mapreg_map() and can be used directly by drivers
with special needs (e.g. those being attached as console devices).
1997-04-13 22:05:10 +00:00
cgd 36949596f0 rename pci_map_register to pci_mapreg_map. The latter name is more
descriptive, and allows for a sane name for a function which just digs
the info out of the mapping register but doesn't do the mapping.
1997-04-13 20:14:20 +00:00
cgd dcd9b58489 don't bother keeping around the i/o tag. It's useless by itself, and
without other significant changes to this driver wouldn't be particularly
useful to keep around permanently anyway.
1997-04-13 20:02:11 +00:00
cgd 04e7505aaa clean up an autoconfiguration printf. Much more should be done 1997-04-13 20:00:29 +00:00
cgd 4c2cff7209 use pci_map_register(). map both mem and I/O spaces, preferring mem space
by default if it's usable, but falling back to I/O space if mem isn't usable.
If NCR_IOMAPPED is defined (default on the x86), prefer I/O space
then fall back to mem.  Also, clean up the various memory consistency checks
so that they can deal with run-time determination of whether or not the
device is to be memory- or I/O-mapped.
1997-04-13 19:58:17 +00:00
cgd 32836b0710 use pci_map_register(). map both mem and I/O spaces, preferring mem space
by default if it's usable, but falling back to I/O space if mem isn't usable.
If TULIP_IOMAPPED is defined (default on the x86), prefer I/O space
then fall back to mem.
1997-04-13 19:56:14 +00:00
cgd 8593458137 use pci_map_register(). Also, almost a complete rewrite/cleanup of this
code.  (It still needs more!)
1997-04-13 19:55:09 +00:00
cgd 41a0ca7403 clean up space/tag comments 1997-04-13 19:48:50 +00:00
cgd cf2d73f749 use pci_map_register(). map both mem and I/O spaces, preferring mem
space if it's usable, but falling back to I/O space if mem isn't usable.
1997-04-13 19:48:16 +00:00
cgd 02ca6f929d use pci_map_register(). 1997-04-13 19:47:06 +00:00
cgd 2eae910210 implement pci_map_register(), which gets information about a device's
mapping register, maps it, and returns all of the relevant information.
deprecate use of pci_{io,mem}_find(), but leave them around (for a while)
for backward compatibility with third-party drivers.
1997-04-13 19:46:01 +00:00
perry a0e583f33e Fix problem I just introduced in booting on timeout. 1997-04-13 19:10:00 +00:00
perry 7f3e4fcb29 bump to 2.0Beta2; we'll keep incrementing until we release the real 2.0 1997-04-13 18:49:31 +00:00
perry 00b5e61754 Provides "reboot" call, which just calles INT 19h to ask the bios to
reboot the machine.
This may be insufficient, but its enough for now.
1997-04-13 18:45:37 +00:00
perry 20b87fc0c9 1) Make carriage return start boot immediately.
2) Make "quit" reboot machine. This works by adding a reboot assembler
   hook that calls INT 19h
1997-04-13 18:44:39 +00:00
briggs 6d338ace93 Oops. We do not want to unmap something that we've used bus_space_subregion
to get.
1997-04-13 16:42:34 +00:00
briggs 4a3016b6b6 Some updates based on information from Bob Nestor <rnestor@metronet.com>
about his SONIC-T LC/PDS card.
1997-04-13 14:21:09 +00:00
scottr 4765dedbf5 Move all splxxx() and softint-related macros and prototypes to intr.h,
and include it where appropriate.
1997-04-13 05:12:40 +00:00
thorpej 80a88edd60 - Use common m68k sigcode.
- Garbage-collect doadump(); it's not used by anything
1997-04-13 02:45:20 +00:00
thorpej 2da8464bdf - Use common mac68k sigcode.
- Garbage-collect icode; hasn't been used in eons.
1997-04-13 02:43:51 +00:00
thorpej f05b58b229 Use common m68k sigcode. 1997-04-13 02:37:15 +00:00
thorpej 434a6008fe Common m68k sigcode. 1997-04-13 02:30:02 +00:00
gwr dcc94a5dd9 Document the flags accepted by the esp driver. 1997-04-12 19:48:00 +00:00
kleink e490ffb5cc Addendum to last commit: "simplify" usage of a vnode pointer. 1997-04-11 22:08:28 +00:00
kleink 589549e022 Use VOP_SEEK() in lseek(2). 1997-04-11 22:03:58 +00:00
kleink 9c16cd8a46 Implement a POSIX compliant genfs VOP_SEEK() and use it in the appropriate
places; by Chris G. Demetriou and myself.
1997-04-11 21:52:00 +00:00
pk fbf7bcc591 Cypress 605 cache can be run in write-back mode (fingers crossed..). 1997-04-11 20:32:13 +00:00
cgd ade89d0da0 add a missing newline 1997-04-11 20:28:08 +00:00
pk 1774dc8fbe Add Cypress 605 with MMU version 0xb (reported by Harald Barth). 1997-04-11 20:21:56 +00:00
pk b153a134ce Fix obvious bug: missing `return'.
viking_flush: make sure to really expunge all entries in a cache bucket
by poking it (2 * `associativity' - 1) times; noted by Chris Torek.
1997-04-11 20:06:53 +00:00
pk 5eccdd69a6 Avoid compiler warning. 1997-04-11 20:00:10 +00:00
cgd db11467340 clean up some constants ([A-F]->[a-f] in hex constants 1997-04-11 05:24:40 +00:00
thorpej c0c810cbe0 Initialize the scsi_link before calling bha_init(), since that is how
we check for "wide controller" now.
1997-04-11 01:34:25 +00:00
scottr 319087fd92 Use common m68k sig_machdep.c, removing our local copies of these. 1997-04-11 00:58:23 +00:00
cgd 7030e14ffa provide a way for chipsets which can have multiple instances to force
a seperate chipset structure to be allocated for each.
1997-04-11 00:57:40 +00:00
cgd 8de9ec0c5a enable reporting of system- and processor-correctable errors. Rework
machine check and correctable error handler.  This probably isn't perfect,
yet.
1997-04-11 00:07:08 +00:00
jtk a817214f5f make it compile with -DLOCKF_DEBUG 1997-04-10 23:46:18 +00:00
cgd b995d6393d add eb64+ support, enabled with options DEC_EB64PLUS 1997-04-10 23:24:27 +00:00
cgd 9dc7578cb5 move and split pcs_bus_{mem,io}_common.c, so that:
(1) object code can be shared (where the hardware makes that possible), and
(2) so that the file names better describe the systems which use them.  (the
    pci_swiz* files are for machines whose PCI interfaces require address
    "swizzling."  Later, there will be probably be other sets, e.g. pci_bwx*
    for machines whose chipsets can easily deal with the Alpha BWX extensions
    when doing device accesses.)
1997-04-10 23:21:29 +00:00
cgd cc93b2c4eb pass memory- and i/o-enabled flags down via the PCI bus and device attach
arguments, so that a device can tell if its memory and I/O spaces are
enabled.  The flags are cleared, depending on the contents of devices CSR
registers, in the machine-independent PCI bus code.
1997-04-10 23:12:16 +00:00
cgd 2c5444dc85 enabled EB64+ support 1997-04-10 23:10:33 +00:00
cgd e905758741 move cpu configuration tables into conf.c (cpuconf.c removed).
define CPU options and FIX_UNALIGNED_VAX_FP as header-generating options.
add pci_swiz_*_common.c when appropriate.
clean up a bit and sort more carefully.
1997-04-10 23:09:33 +00:00
cgd 57a9b009a1 reorganize cpu configuration and device configuration tables. Now all macro
definitions and prototypes are in machine/conf.h, and all tables are in
alpha/conf.c.
1997-04-10 23:07:32 +00:00
cgd ad61973f36 add installboot_cd9660, which is installboot(8) modified to place a boot
block (and faked-up disklabel) into an ISO-9660 file system image.
1997-04-10 23:03:38 +00:00
ragge 3611dda5d0 Add better boot support for VS3100/??. 1997-04-10 21:25:18 +00:00
briggs 306e81deb2 Ignore SE/30 faux-video card. 1997-04-10 20:34:23 +00:00
kleink cb9c71d716 Back out last change: just return EACCESS for any non-VREG file.
Fixes PR/3472 from Matthias Pfaller.
1997-04-10 19:45:40 +00:00