briggs
3f1e17a340
Define bus_space_*_stream_N functions as their non-stream counterparts.
2000-07-31 22:43:46 +00:00
thorpej
d760e0b407
Add code to read the EISA configuration NVRAM as set up by
...
an EISA Configuration Utility. Code to access this data
is forthcoming.
XXX This could probably be made MI at some point.
2000-07-29 23:18:46 +00:00
mason
4a353b5330
Moving to a default of 64 PTYs.
2000-07-27 17:53:35 +00:00
jdolecek
911d661dad
switch to sys/conf/newvers_stand.sh for generation of version files
...
move the vers.c depend/build goo to Makefile.bootprogs and remove
explicit rules in other Makefiles
sync the message in */version files with other ports using newvers_stand.sh
XXX the new depend rules were tested to limited extend (also with obj dirs)
XXX on i386 and should be ok; the changes should not otherwise influence build
2000-07-21 21:25:18 +00:00
thorpej
9faf26ffb5
This file is obsolsete.
2000-07-19 17:39:57 +00:00
nathanw
e72ba11928
In cpu_switch(), load value *after* checking that the base register
...
is not NULL.
2000-07-19 14:00:24 +00:00
thorpej
ea0cb4c30e
Clear the ISDN TXPTR/RXPTR/OVRN interrupt bits here. Based on
...
a suggestion by Gregory McGarry.
2000-07-18 06:10:06 +00:00
thorpej
5edc9ef4a4
When computing the segment size, consider the maximum segment
...
size in the DMA map.
2000-07-17 04:47:56 +00:00
thorpej
3eedcb3009
Whitespace police.
2000-07-13 05:47:39 +00:00
thorpej
1204c1faaf
Oops, treat 2100A_A500 just like 2100_A500 in every place necessary.
2000-07-12 21:02:14 +00:00
thorpej
3182af4432
- Add Jensen support/devices.
...
- Add commented-out Sable/Lynx support/devices.
- Switch from `ncr' to `siop' by default.
- Add some missing `scsibus' configs to INSTALL.
2000-07-12 20:54:38 +00:00
thorpej
249773b538
Deal with another odd need of the Sable/Lynx systems, which need to
...
have an ISA chipset present before the PCI-EISA bridge has been
attached (because the STDIO module has an ISA DMA-using device,
the floppy controller, connected to it).
2000-07-12 20:50:00 +00:00
thorpej
a66c3e663c
Code to support the DEC 2000/300 (DECpc AXP 150, a.k.a. "Jensen")
...
systems. Thanks to Gyenes Istvan for the rounds of testing.
2000-07-12 20:36:07 +00:00
thorpej
55c41121ff
Change from `ncr' to `siop' by default.
2000-07-12 20:27:25 +00:00
thorpej
42c89508c0
Uncomment the `fdc at sableio' lines.
2000-07-12 20:20:54 +00:00
nisimura
4f051180a0
- Use PMAD-BA name for device match logic. It's not a real TURBOchannel
...
device and the id string is not found in option ROM string, but
ULTRIX/OSF1 call it so anyway.
- Squash IOASIC DMA buffer allocation into device attach() sequence.
2000-07-11 04:10:25 +00:00
thorpej
2c9058efbb
Oops, g/c some stuff from previous.
2000-07-06 23:29:13 +00:00
thorpej
65780061bd
Define some more CTB formats.
2000-07-06 22:46:54 +00:00
bouyer
4c19b21f72
3c503 works on alpha, add:
...
ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
2000-07-05 18:40:47 +00:00
nisimura
7b6a572aae
zs_ioasic external declarations are stored in zs_ioasicvar.h.
2000-07-05 03:06:53 +00:00
nisimura
534c33a095
Use dev/tc/ directory for DEC3000 Z85C30s.
2000-07-05 02:50:39 +00:00
nisimura
728e424e54
Repopulate 4 files, zs_ioasic.c and zs_ioasicvar.h from arch/alpha/tc,
...
zskbd.c and zsms.c from dev/dec/, respectively. No functionality
change this time.
2000-07-05 02:48:50 +00:00
nisimura
4dcd114ad5
Unnecessary to include <dev/tc/tcreg.h>.
2000-07-04 02:37:51 +00:00
nisimura
1de4ec68b4
Repopulate TCDS dual channel SCSI adapter to MI dev/tc, squashing
...
internals for better layering between TCDS DMA ASIC and ASC SCSI
controller.
2000-07-04 02:22:08 +00:00
thorpej
7878bcc14c
Don't bother with minor printing, except on the LCA CPUs (because
...
that tells us if we have a 21066 or 21068).
2000-07-03 21:21:26 +00:00
thorpej
10e6c623b3
Print the system serial number.
2000-07-03 17:52:33 +00:00
thorpej
01bd2a3496
The `rpb_phys_address_size' field is really 2 32-bit fields,
...
`rpb_phys_address_size' and `rpb_extended_va_size', per Brown Book.
2000-07-03 01:47:48 +00:00
cgd
a5c13f9ad4
Kwality control:
...
* put #includes of opt headers and headers to get protos used by
net/netisr_dispatch.h in net/netisr.h (if !defined(_LOCORE)) (rather than
in netisr_dispatch.h itself, and potentially nowhere, respectively).
* require netisr.h to be included before netisr_dispatch.h.
* minor additional cleanup of both netisr.h and netisr_dispatch.h.
* clean up uses to remove now-unnecessary header file inclusions, and
local prototypes of the fns.
* convert netisr dispatch implementations which didn't use
netisr_dispatch.h (pc532) to use it.
2000-07-02 04:40:33 +00:00
simonb
edf0a0d67e
Pass the abst to alpha_pci_mem_unmap() so that the real size of the
...
mapped area can be unmapped.
2000-06-30 18:19:28 +00:00
itojun
d76ae83df8
add PULLDOWN_TEST for all the platforms.
...
XXX should be moved to somewhere else when stabilized
2000-06-30 17:10:15 +00:00
mjacob
0d7f238097
no more vm includes
2000-06-30 00:00:26 +00:00
mrg
80bb8049ba
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 09:02:51 +00:00
mrg
c88e94a407
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 08:58:45 +00:00
thorpej
e9052d7c40
New delay() function that uses the RPCC instruction. From
...
Matthew Jacob <mjacob@feral.com>.
2000-06-28 02:02:26 +00:00
kleink
bb2ed0f487
G/c _BSD_INTPTR_T_ and _BSD_UINTPTR_T_.
2000-06-27 05:53:22 +00:00
kleink
47b5c5e3b1
Resolve some formatting nits; add __intptr_t and __uintptr_t.
2000-06-27 04:58:51 +00:00
thorpej
69a6fe113c
Garbage-collect CHIP_PHYSADDR().
2000-06-26 19:46:24 +00:00
thorpej
cc9dfe871b
Do the previously slightly differently, to avoid confusing the internal
...
space extent maps. Pointed out by msaitoh@netbsd.org . (Someone should
send me an EV6 machine!)
2000-06-26 18:19:26 +00:00
kleink
e695f72a2e
Add <machine/int_types.h>, which provides namespace-pure definitions
...
of exact-width integer types.
2000-06-26 15:42:16 +00:00
mrg
2f159a1bac
remove/move more mach vm header files:
...
<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>
also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
simonb
889c658b5b
Change the kernel mmap interface so that the offset to map is an
...
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
thorpej
9a2d9ff68b
Because of the Cool sign-extension hack we use to access PCI space,
...
the `get window' method ends up with the wrong physical address to
pass onto userspace (which wants to mmap the space).
Compensate by adding a CHIP_PHYSADDR() macro which un-hacks the address
suitably for mapping with other-than-KSEG.
2000-06-26 02:42:10 +00:00
enami
506c4945d8
Fix typo in previous to prevent compilation error when DEC_1000 isn't
...
configured.
2000-06-26 02:42:04 +00:00
thorpej
a2318e49a0
G/c unused include.
2000-06-25 19:33:01 +00:00
thorpej
167094d31a
Implement mcpcia_bus_get_window().
2000-06-25 19:32:19 +00:00
thorpej
865004842f
Implement tsp_bus_get_window().
2000-06-25 19:17:39 +00:00
thorpej
9f7689e3c9
For systems which have different systypes but share a common
...
support module, make consistent with other systems which options
you must enable for it to work. Treat ``Lynx'' (2100A_A500) like
``Sable'' (2100_A500).
2000-06-25 17:21:55 +00:00
kleink
133ea38323
Add a WEAK_ALIAS() macro.
2000-06-23 12:18:45 +00:00
fvdl
1ee7d22c0b
Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC.
2000-06-22 20:27:49 +00:00
matt
5c13e34063
CDROMs can exist on ide buses
2000-06-20 03:48:53 +00:00
simonb
8e0ec9a961
s/ouwl/outl/ in macro definition.
2000-06-19 12:19:38 +00:00
thorpej
01ae72fdf9
Enable uhid.
2000-06-14 22:28:13 +00:00
veego
223d7455c7
Remove the obsolete config fragments for kernel crypto, because the IPsec
...
crypto code is now in the kernel source tree.
2000-06-14 22:02:13 +00:00
thorpej
fe8841f18a
Some platforms, like the Sable, hook EISA and ISA interrupts
...
up Very Differently. Handle this.
2000-06-13 16:40:37 +00:00
tron
447112b869
Add entry for "bba(4)".
2000-06-13 06:15:51 +00:00
matt
58ca6aac15
Add netbsd.alpha & netbsd.alpha.gz for installation cds.
2000-06-12 23:38:03 +00:00
sommerfeld
4a9abf779e
Fix this so it compiles again with DEBUG
2000-06-12 23:35:11 +00:00
thorpej
75975dd6c5
G/c some unneeded prototypes (functions don't exist).
2000-06-11 22:47:00 +00:00
thorpej
0531d2ddcb
jensenio gets isadma_bounce attribute.
2000-06-11 22:45:44 +00:00
thorpej
91ed0189e8
Add Jensen files glue.
2000-06-11 21:25:23 +00:00
thorpej
99079f93c0
Add init glue for the DEC 2000/300 (Jensen).
2000-06-11 21:19:23 +00:00
sommerfeld
82b38059d6
Let this build again after the pckbc_cnattach change
2000-06-11 01:59:26 +00:00
thorpej
71cd989b8f
Only include <machine/intr.h> if _KERNEL. Noted by enami tsugutomo.
2000-06-09 16:03:04 +00:00
soda
0f76c56f2d
increase number of parameters of pckbc_cnattach(), since offset of command port
...
is not 4 (KBCMDP), but 1 on jazz based platforms of arc port.
2000-06-09 04:58:32 +00:00
cgd
c2ebb05a74
make spl0() and spllowersoftclock() return void. Also, move spl0()
...
prototype from param.h to intr.h. (there were some big XXXs in param.h
that said to do that, and intr.h is included by param.h, so...)
2000-06-09 01:40:12 +00:00
thorpej
81afcb3940
And more ANSI'ification!
2000-06-08 03:10:06 +00:00
thorpej
966b3da402
ANSI'ify.
2000-06-08 02:53:47 +00:00
thorpej
8355a216eb
Add the `rnd' driver.
2000-06-08 02:20:50 +00:00
thorpej
0bf91362b9
Add cpu_counter() for rnd(4), using the rpcc insn.
2000-06-08 02:19:20 +00:00
simonb
e59356ecdd
In __cpu_simple_lock_try(), use "return (v0 != 0);" instead of
...
"return (v0);" where v0 is an unsigned long and the function return
type is int. Stops lint warnings when this file is included.
Fix from Jason Thorpe.
2000-06-07 01:49:13 +00:00
matt
2b0f10e384
Needs to look at different stuff depending if the scsipi bus is SCSI or ATAPI
2000-06-06 20:26:19 +00:00
soren
a9aa2abf94
defopt SYSCALL_DEBUG.
2000-06-06 18:52:30 +00:00
thorpej
c791fe193f
Give the `sio' and `pceb' drivers the `82c693' attribute.
2000-06-06 03:10:55 +00:00
thorpej
f3d9d1ac8a
Use the common 82c693 access functions to read/write the ELCR.
2000-06-06 03:10:13 +00:00
thorpej
f65502fc36
Report which compatibility IRQ the PCI IDE gets.
2000-06-06 00:50:15 +00:00
jhawk
c063b64a2b
Do not clear msgbufenabled in dumpsys(). Dump messages will now go to
...
the message buffer. This can be invaluable in debugging if the dump
fails (assuming a persistant message buffer)
2000-06-05 23:44:55 +00:00
thorpej
b0ce38fd8a
Switch to the new `evcnt' mechanism for counting interrupts. Maintain
...
a per-CPU interrupt counter for clock, device, and interprocessor
interrupts.
2000-06-05 21:47:26 +00:00
thorpej
2668e3b213
Switch to the new `evcnt' mechanism for counting interrupts. Maintain
...
a per-CPU interrupt counter for clock, device, and interprocessor
interrupts.
2000-06-05 21:47:10 +00:00
nisimura
4371d91433
Have MI ncr53c9x_attach() the 2nd and 3rd arguments for scsipi_adater
...
and scsipi_device respectively, with size reduction of ncr53c9x_softc.
Specifying NULL instructs the driver to use default adapter and default
device codes. Every target port has ncr53c9x_attach(sc, NULL, NULL) anyway.
2000-06-05 07:59:50 +00:00
cgd
cffb580806
Implement the more flexiable `evcnt' interface as discussed (briefly) on
...
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
thorpej
1c8cd252f9
ANSI'ify.
2000-06-04 18:09:36 +00:00
thorpej
6addd3ac42
Nuke a couple of unnecessary IMBs. In these cases, the mappings weren't
...
hanging, only perhaps the permissions being lowered, in which case the
I-stream does not need to be sync'd.
2000-06-04 17:39:12 +00:00
thorpej
a39439b400
ANSI'ify.
2000-06-04 16:55:57 +00:00
thorpej
e8d65fec30
ANSI'ify function declarations.
2000-06-04 05:27:45 +00:00
thorpej
70dc4d8718
Un-__P'ify kernel prototypes.
2000-06-04 05:23:18 +00:00
thorpej
df4a5a7f43
Increment an interrupt depth counter in non-clock interrupt cases
...
so that we can get time spent in interrupt statistics.
2000-06-04 03:40:03 +00:00
thorpej
cd423732b8
- Clean up clock interrupt code a bit, and provide a CPU_IS_PRIMARY()
...
macro in the MULTIPROCESSOR case (hardclock() wants it).
- Implement __GENERIC_SOFT_INTERRUPTS, and redefine the legacy
software interrupts in terms of it. Garbage-collect setsoftserial().
2000-06-03 20:47:36 +00:00
thorpej
be636036f8
Err, actually, print "21264A", not "EV67".
2000-06-03 14:13:42 +00:00
thorpej
d42ef058b5
Recognize PCA57 and EV67.
2000-06-03 14:12:54 +00:00
thorpej
392948ced8
Add EV57 and EV67 processor variants.
...
cvs: ----------------------------------------------------------------------
2000-06-03 14:12:28 +00:00
nisimura
b52ffbdbe9
Make clarified SCSI transfer direction flag. sc_ispullup == pullup
...
data from SCSI device == DMA into main memory == datain.
2000-06-02 04:35:06 +00:00
thorpej
9851571246
Add support for the Alpha Processor, Inc. UP1000 EV6 system.
2000-06-01 20:30:28 +00:00
thorpej
79744e1563
Add a global patchable variable to enable debugging printfs in the
...
code that finds the boot device.
2000-06-01 17:12:38 +00:00
sommerfeld
f732048856
Add missing newline
2000-06-01 13:50:48 +00:00
thorpej
e75d8e3878
Forgot __KERNEL_RCSID().
2000-06-01 05:49:36 +00:00
thorpej
5114577ab0
ISA DMA bounce buffer code, needed for a couple of SGMAP-less
...
systems, support for which will be hitting the tree soon.
2000-06-01 03:55:45 +00:00
thorpej
1cf70c169f
Rearrange things a little so we can deal with systypes that aren't
...
densely packed.
2000-06-01 03:41:23 +00:00
thorpej
850f9b030b
Typo.
2000-06-01 03:16:51 +00:00
thorpej
c7f9211c18
Add placeholders for the support files for the Alpha Processor, Inc.
...
UP1000 EV6 system.
2000-06-01 03:16:19 +00:00
matt
c9aff328d9
Make booted_device global (and booted_parition for consitency).
...
Eliminate it from header files and other extern definitions.
2000-06-01 00:49:49 +00:00