Commit Graph

920 Commits

Author SHA1 Message Date
cgd 75b9c1bce1 convert to use a genassym.c that produces awk-able assembler output, a
la the sun3 port.  This makes cross-compilation easier.
1997-07-19 10:02:53 +00:00
cgd 429a941288 don't expect/provide pci_decompose_tag to be a MI, public function. It
wasn't intended to be to begin with, and uses of it (e.g. the one in the
'de' driver) are quite likely to be incorrect.
1997-07-19 09:49:39 +00:00
cgd 866bc1b267 sync with dev/isa/wd.c rev. 1.162:
>date: 1997/07/18 00:26:22;  author: fvdl;  state: Exp;  lines: +10 -10
>Work around possible race condition with 2 drives on one controller
>in wd_get_parms. PR 3773, from Onno van der Linden (onno@simplex.nl)
S: ----------------------------------------------------------------------
1997-07-19 06:39:22 +00:00
thorpej 7a8a1f3f1a Turn the extern declaration of __flt_rounds() into a proper prototype. 1997-07-17 21:36:03 +00:00
jtk ca1bba150a use locator defines in "locators.h" to index cf_loc[] 1997-07-17 03:16:39 +00:00
jtk 320892f8db oops, WSCONSCF_CONSOLE should be WSCONSDEVCF_CONSOLE 1997-07-17 01:33:04 +00:00
jtk 594536a71f use locator defines in "locators.h" to index cf_loc[] 1997-07-17 01:28:54 +00:00
jtk 37f9c6bd88 use locator defines in "locators.h" to index cf_loc[] 1997-07-17 01:17:45 +00:00
hpeyerl 6d4fa106d1 Move satlink0 to ALPHA. 1997-07-13 21:24:14 +00:00
hpeyerl 16371837ec Satellite receiver driver for ISA cards from PlanetConnect by Jason and
Herb for Canada Connect Corp.
1997-07-13 19:32:00 +00:00
mellon eb51f51303 Convert spaces to tabs following option declarations 1997-07-10 20:46:37 +00:00
cgd fce829ca4b mark prototypes for static inline functions as possibly unused
(with __attribute__ ((unused))), to avoid generating warnings when
compiling without optimization but with the default warning flags.
1997-07-07 20:37:34 +00:00
mjacob ff21c8f511 Turn of 'unclaimed interrupt' messages- we know about them already- we can't
really fix this as yet.
1997-06-24 18:08:59 +00:00
thorpej 84166e5151 foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
from the disklabel accordingly.
1997-06-24 00:28:36 +00:00
mrg f66658c8e0 move man pages into share/man. 1997-06-22 05:05:17 +00:00
cjs ecada6375b bzero() wants pointers, not ints, for its first arg. 1997-06-20 07:06:43 +00:00
pk fe15d6603a Remove spurious line left over in previous commit.
Also, use parentheses like in <dev/isa/wd.c>
1997-06-18 22:25:53 +00:00
pk f5bf0d3701 wdsize(): only call wdopen()/wdclose() if not already open, per the
current `openmask'.
1997-06-18 20:39:55 +00:00
thorpej dacadc3aff Add the ext2fs file system. 1997-06-13 00:44:13 +00:00
mrg 1258c8d25b remove now obsolete "swap on..." lines. 1997-06-12 18:41:58 +00:00
mrg 552af779d2 bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:46:19 +00:00
mrg dc6a98e92c bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:09:23 +00:00
veego 6ab737a609 Initialize machine from MACHINE and machine_arch from MACHINE_ARCH. 1997-06-08 23:59:57 +00:00
thorpej c8615e2f7c Add code to decode the PCIA_RESENT register. Display information on
the PCIA revision, and whether or not the STD I/O EISA bridge is
present.  Decode, but don't bother displaying, the power consumption
information for each PCI slot.
1997-06-08 07:59:20 +00:00
thorpej 183655c71b Add bit definitions for the PCIA_PRESENT register. 1997-06-08 07:57:40 +00:00
thorpej 8e2e0fdc91 Don't print the hose number here; that's done in kftprint(). 1997-06-08 07:03:18 +00:00
thorpej 42dde867d8 Print the hose number in kftprint(). 1997-06-08 07:02:45 +00:00
cgd 712748bc64 remove extraneous, and now incorrect, cpu_decl()s. 1997-06-07 19:08:01 +00:00
thorpej 78cd3ba57f bus_dmamap_t's always have a pointer to an sgmap cookie. (oops, forgot
to commit this to the branch!)
1997-06-07 05:35:06 +00:00
thorpej 413f678ce0 Pull the thorpej-bus-dma branch into the mainline. 1997-06-07 05:29:33 +00:00
thorpej 46b89d7739 Pull thorpej-bus-dma branch into mainline. 1997-06-06 23:54:24 +00:00
thorpej 11e78a6b0d Pull thorpej-bus-dma branch into mainline. 1997-06-06 23:43:45 +00:00
veego 029d774d1a Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch. 1997-06-06 23:31:23 +00:00
cgd 2a9a4b6fde fix slight bogons in splhigh() usage, that were introduced when the
behaviour of splhigh() was changed.  The new behaviour raised the level to
IPL_HIGH if it was lower, but left it alone if the same or higher.  Apparently
the firmware transfers to NetBSD with all interrupts blocked, or something
else blocks all interrupts (including machine checks) before the code
is really started.  This meant that machine checks were blocked during
device probes, leading to false device probes _and_ an unexpected (and
therefore fatal) machine check at the spl0() after autoconfiguration.
1997-06-06 19:52:42 +00:00
thorpej 63ac628f77 Oops, last commit was meant for the thorpej-bus-dma branch, not the
trunk.
1997-06-06 02:42:38 +00:00
thorpej 4f5d0d3849 Split DEC 3000/300 and 3000/500 DMA functions into separate files,
suggested by Chris Demetriou <cgd@netbsd.org>.
1997-06-06 02:41:09 +00:00
cgd 891e8db771 two more slight bogons 1997-06-05 17:36:26 +00:00
cgd 1c33c6bff8 actually, declare _splraise() as an inline function, because:
(1) it was using 'max', and some functions use a variable
	    of that name (*sigh*), and
	(2) that makes it easier to be a bit trickier, and only call
	    swpipl if changing the IPL.
1997-06-05 17:31:16 +00:00
cgd 100dbb8a3c parens around macro arg (this is an old one) 1997-06-05 17:20:17 +00:00
cgd 57c012e265 make sure that splnet(), splbio(), splimp(), spltty(), splclock(),
splstatclock(), and splhigh() all _raise_ the IPL.  (splhigh() is _not_
the highest possible IPL; mcheck is...)
1997-06-05 17:08:06 +00:00
thorpej d19ef97a43 Add fxp* at pci? declarations, marked untested on the Alpha, but they
compile.
1997-06-05 02:29:56 +00:00
cgd 86b5c1e498 make REGVAL macros use volatile pointers 1997-06-04 01:47:15 +00:00
cgd 079e0c6bff make REGVAL macros use volatile pointers 1997-06-03 21:54:02 +00:00
cgd ba43d7fec5 do not spew about processes which have had fatal traps, unless DEBUG
is defined.  Actually, it never should do it, but DEBUG should be 'never'
for most users.
1997-06-03 17:38:50 +00:00
cgd e2bc183e52 remove DEBUG from GENERIC kernel 1997-06-03 17:37:58 +00:00
thorpej 4ae176cb0a Ooops! Not meant for the trunk; these need to be added to the branch! 1997-06-03 07:01:58 +00:00
thorpej 36e7d039c0 Add "typedep" code to deal with both the 32-bit and 64-bit PTE formats
found on Alpha workstation and server PCI bridge chipsets.
1997-06-03 07:00:20 +00:00
cgd e4f0b64254 Adjust gcc -Wuninitialized warning initializers (or add them) so that
compliation without DEBUG and/or DIAGNOSTIC happens without errors.
Note that all such initializations in the Alpha port are marked with "XXX
gcc -Wuninitialized".  As far as I'm concerned, the one or two times
-Wuninitialized has saved me from problems are worth the (very minor) cost
involved with the initializations, esp. if it's noted why the
initializations are done.  This was prompted by PR#3690, from Ted Lemon.
1997-05-31 05:46:03 +00:00
mycroft ad19544997 Remove bogus .PATHs. 1997-05-18 12:14:55 +00:00
gwr e2a58b69f7 Add #define __VM_PMAP_HACK as a temporary measure. 1997-05-16 21:35:30 +00:00
mjacob 9854f9917e Print some more info on unresolved user traps, mostly for DIAGNOSTIC. 1997-05-15 18:33:47 +00:00
mjacob e005d20961 Allow MAXPHYS to be specified as a config file option. 1997-05-15 17:27:15 +00:00
thorpej 2494f148f4 - In sccmatch(), check any user-specified offset, allowing scc unit numbers
to be nailed down.  From Ken Hornstein <kenh@cmf.nrl.navy.mil>, PR #3626,
  slightly modified to allow wildcarded offsets.
- Blow away the cf->cf_unit check in sccmatch(); it's bogus.
1997-05-15 02:15:55 +00:00
mycroft cc4a1553a1 Eliminate bogus redefinitions of standard targets. 1997-05-09 07:50:03 +00:00
thorpej 47aae56862 Sync w/ SPARC port, from Paul Krannenburg <pk@netbsd.org>:
Remove esp FLUSH when residual bytes are present in FIFO, the ncr53c9x
driver will flush when necessary. Doing the FLUSH here interferes
with DMA-enabled target selection.
1997-05-08 01:33:49 +00:00
mycroft 84bca5d679 Don't use _SUBDIRUSE outside of bsd.subdir.mk. 1997-05-07 17:28:47 +00:00
mjacob 11fc3c2a7a In case someone doesn't compile in DEBUG we need to still
snag the msgbuf. Also, observe protocols about message buffer
being 'mapped'.
1997-05-07 17:13:32 +00:00
mjacob b9e2002bb5 Oops- Really should do local files before common. 1997-05-04 01:53:01 +00:00
mjacob f534e05161 Fix tags target. 1997-05-04 01:49:14 +00:00
cjs 85207f1f0c Oops. ep at eisa is still `untested.' 1997-05-03 21:27:24 +00:00
cjs 4072012b2b Ep driver on ISA bus is no longer untested. Also optimistically
removed the `untested' designation from the EISA-bus version, since
there's no reason at all why it won't work.
1997-05-01 07:11:11 +00:00
cgd f5bfcda4fe comment out text after #endif. "Pasto!" pointed out by Kevin Sullivan
in PR 3529.
1997-04-24 23:58:24 +00:00
cgd 1b16a9577a note eb64+/AlphaPC 64 support 1997-04-23 20:52:45 +00:00
cgd fc8625db4f minimal changes to make hacked wd driver work under a different name.
It is configured (in config files) as 'awdc'/'awd', but shows up as
'wdc'/'wd', so that a minimal amount of code had to be modified to make
the name change work.  This is only intended to be temporary, anyway.
1997-04-21 14:47:33 +00:00
cgd dbb6d5170a Convert to use bus_space_* macros. The resulting code isn't quite correct,
but works on the alpha (since there's currently no floppy drive support).
1997-04-21 13:38:38 +00:00
cgd ba574b6f20 copy ISA wd driver from /sys/dev/isa/wd.c. This rev is unmodified.
This is temporary, until /sys/dev/isa/wd.c is properly bus_space_*-ified.
1997-04-21 13:36:49 +00:00
cgd 09b3ed084e add ep at isa and eisa 1997-04-18 19:41:17 +00:00
cgd 0f72c17209 try a slightly different heuristic to differentiate between ISA and PCI
(VGA) consoles.
1997-04-18 00:07:53 +00:00
thorpej 6a2fc99857 STRIP -> STRIPFLAG 1997-04-17 07:27:46 +00:00
mjacob ac75d3f4df clarify a comment slightly. 1997-04-16 22:20:52 +00:00
mjacob 5a18fcd5cb Add kn8ae for needing shared_intr.o 1997-04-14 18:23:18 +00:00
cgd 38a8ed2dd3 clean up some ELF vs. ECOFF bogons 1997-04-14 07:31:03 +00:00
cgd 0606596c8b sort PCI devices, add 'cy' Cyclades Cyclom-Y driver (untested) 1997-04-14 03:14:49 +00:00
cgd c16b14abf3 use pci_mapreg_info rather than pci_mem_find 1997-04-13 22:09:32 +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
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
cgd 9e02c24964 adjust 'sticks' to be the same as on other ports (0 if trap in kernel mode).
This is a great example of gcc's bogus -Wuninitialized warnings.  even if
'user' is made const, gcc still (incorrectly!) whines.
1997-04-10 01:03:07 +00:00
cgd f2b60ad624 align after RCS ID strings if placing them in text 1997-04-08 00:24:16 +00:00
cgd 519551a681 include RCS IDs for assembler files, disabled with NO_KERNEL_RCSIDS 1997-04-08 00:19:01 +00:00
cgd 25ba9df324 clean up some wording 1997-04-08 00:18:25 +00:00
cgd effe625a3a note NetBSD/alpha's (intentional) deviations from KNF 1997-04-07 23:57:10 +00:00
cgd fa0c4d6cb1 clean up options.h inclusion slightly 1997-04-07 23:56:39 +00:00
cgd 90789b53dd by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory.  (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
1997-04-07 23:39:37 +00:00
cgd 80c27e8c49 include machine/options.h 1997-04-07 06:36:24 +00:00
cgd f9f2e742af include machine/options.h 1997-04-07 06:24:24 +00:00
cgd 21598de043 use machine/conf.h instead of sys/conf.h and/or machine/cpuconf.h 1997-04-07 06:09:00 +00:00
cgd 98f47c009f add machine/conf.h, right now a minimal placeholder 1997-04-07 05:52:34 +00:00
cgd b2f768130d include machine/options.h 1997-04-07 05:46:48 +00:00
cgd 3775a7d0a0 more correctly conditionalize ARP code use 1997-04-07 05:40:45 +00:00
cgd 6093a85bde clean up eb164 #ifdefs 1997-04-07 05:40:10 +00:00
cgd 831292c29e clean up NetBSD RCS ID strings 1997-04-07 05:34:39 +00:00
cgd 8c56b1a0c9 clean up NetBSD RCS ID strings 1997-04-07 05:19:01 +00:00
cgd a60b90caa9 clean up NetBSD RCS ID strings, include machine/options.h 1997-04-07 02:01:16 +00:00