Commit Graph

3326 Commits

Author SHA1 Message Date
drochner
64839bcf9d document PCKBD_LAYOUT 1998-06-15 13:10:18 +00:00
kleink
1fbd0b3749 GC the unused `physadr' type, which was not able to hold a complete physical
address on 2 architectures anyhow.  Also, move the definition of the `label_t'
type inside _KERNEL protection, since it is specific to the in-kernel
setjmp()/longjmp() implementations.
1998-06-14 20:09:22 +00:00
billc
3f29603abd delete WARPED 1998-06-14 12:50:26 +00:00
billc
fcbc3ab14f moved WARPED to updated NBFTP 1998-06-14 12:47:31 +00:00
cgd
651b44e211 Rework the way kernel include files are installed. In the new method,
as with user-land programs, include files are installed by each directory
in the tree that has includes to install.  (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.)  The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change.  Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
drochner
684086c4c7 copy of GENERIC, but with wscons console 1998-06-12 15:42:02 +00:00
drochner
81fd096b37 Since wscons can support VT_xxx ioctl()s, enable them if NWSDISPLAY > 0.
Implement KDGKBTYPE and KDGKBENT, this will make X servers happy.
1998-06-11 22:26:13 +00:00
thorpej
f8e69a4627 Don't enable BUS_SPACE_DEBUG automatically if DEBUG is defined. 1998-06-09 22:53:57 +00:00
thorpej
02182100df Use config_defer(). 1998-06-09 18:49:33 +00:00
chs
a5550009e6 correct counting for uvmexp.wired:
only pages explicitly wired by a user process should be counted.
1998-06-09 05:18:52 +00:00
tv
00ede2160e Change ddb_init() for a.out to provision for kernels which are not booted by
the current 'bootblock' method, like the Shark, which preloads and preformats
the symbol table right in the boot code.
1998-06-09 01:57:41 +00:00
thorpej
680a3d77f4 Add isa_dma{freeze,thaw}(), used to temporarily stop and then restart
all ISA DMA.  Needed by e.g. the SmartCard reader for Sharks.
1998-06-09 01:04:17 +00:00
thorpej
e333272393 Change the ISA DMA API to take an isa_chipset_tag_t rather than
a struct device * corresponding to the ISA bus device.  The ISA DMA
controller driver functions have been renamed and now take a struct
isa_dma_state *, and are called indirectly by machine-dependent code
which provides the DMA state.

These changes allow e.g. `ofisa' (the OpenFirmware configuration
mechanism for the ISA bus, used by e.g. Sharks) to use the MI ISA
DMA controller code.
1998-06-09 00:12:18 +00:00
thorpej
98d02e5c94 Provide an isa_chipset_tag_t to the ISA bus device. 1998-06-09 00:12:00 +00:00
thorpej
dde710c6f9 Adjust for changes to the ISA DMA API. 1998-06-09 00:11:34 +00:00
thorpej
ec7941bba2 Nuke __BROKEN_INDIRECT_CONFIG. 1998-06-08 06:45:55 +00:00
sommerfe
94de2146a9 Add ISA Plug and Play attachment for PCIC PCMCIA controller (pcic* at isapnp?).
Slightly modify ISA attachment to let the two share code.
1998-06-07 18:34:38 +00:00
thorpej
528bbb95ed Add debugging support to the bus_space macros. If BUS_SPACE_DEBUG (or DEBUG)
is defined, the bus_space macros will check to ensure that the bus address
and the target buffer (if applicable) are aligned properly for the size
of the type being used.  If they are not, a message will be displayed on
the console.

While strict alignment is not strictly necessary on the x86, ensuring
proper alignment can aid performance, and help make drivers more portable
to architectures (like the Alpha and StrongARM) which _do_ require strict
alignment.
1998-06-07 03:32:32 +00:00
enami
c0c7384dde Also, remove space at the end of line. 1998-06-07 03:01:05 +00:00
enami
207a6dcab6 Use TAB instead of two space to indent. 1998-06-07 02:36:53 +00:00
enami
e33ef0027d Remove TAB after `options I686_CPU'. 1998-06-07 02:34:41 +00:00
thorpej
9553573381 If we have APM, only power down if RB_POWERDOWN was specified (fall into
RB_HALT case if it fails).
1998-06-06 21:27:31 +00:00
augustss
db50fa53b8 Add Aria driver. 1998-06-06 10:14:21 +00:00
thorpej
6d29690288 Implement bounce buffers for mbufs. 1998-06-03 21:50:48 +00:00
mjacob
23a5420f99 turn on Essential HIPPI for this configuration 1998-06-03 21:17:52 +00:00
frueauf
554cce1e94 Remove double "options GATEWAY" entry. 1998-06-03 10:03:25 +00:00
thorpej
051c391187 Optimize the ISA DMA map load somewhat; don't traverse the buffer twice.
Instead, just attempt to do a normal load first.  If we exceed the bounce
threshold or the number of segments, then we bounce the transfer.
1998-06-03 06:37:54 +00:00
thorpej
66f9322f5f EISA and PCI do not require bouncing; specify a bounce threshold of 0. 1998-06-03 06:35:49 +00:00
thorpej
7b2ef456f0 When loading a DMA map, if the page's physical address exceeds the bounce
threshold, return an error to the caller (the caller will attempt to
bounce the transfer).
1998-06-03 06:35:04 +00:00
thorpej
f018f866d7 Add a `bounce threshold' to the i386 DMA tag. 1998-06-03 06:33:02 +00:00
thorpej
50be447da3 Sync the bus_dmamap_load back-end functions between alpha and i386. (only
slight, unnecessary differences)
1998-06-03 04:15:05 +00:00
thorpej
7022024d4a Add epic* at pci? 1998-06-02 01:43:33 +00:00
kleink
e6be56ae0b Need <stdlib.h> for mktemp() prototype. 1998-06-01 14:05:35 +00:00
thorpej
a7f360c6c9 Specify a non-profiling C rule. 1998-05-31 23:25:41 +00:00
veego
4519b25f6c Add options COMPAT_386BSD_MBRPART. 1998-05-31 13:53:42 +00:00
bouyer
94d805aff1 Add handling of DMA boundary barrier in _bus_dmamap_load_buffer(). This
affects all bus_dmamap_load* functions of bus_dma(9).
While I'm there fix a bug where the dm_segs array could be overflowded by one.
1998-05-29 16:48:09 +00:00
drochner
dd457b5369 pull in new PC display headers
support "pcdisplay" console device
1998-05-28 16:56:26 +00:00
drochner
dc8a7077ed Handle the i386/PMAP_NEW copyout() differently:
Don't try to avoid faults when the PTEs are checked. Set pcb_onfault
instead so that trapwrite() is called as if the PTE were RO.
This is faster than explicitely ckecking the PDEs - at least in the
majority of calls where the PT is already present.
Thanks to Stefan Grefen for input and testing.
1998-05-27 15:53:30 +00:00
kleink
a97fc2f180 If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
provide any identifiers other than sig_atomic_t.
1998-05-25 20:59:01 +00:00
drochner
480294be7d remove assumption about code aligment after "jmp"
(is not worth the possible confusion)
1998-05-24 12:04:23 +00:00
fvdl
27fea992a8 Add the newer PII (model 5) and newer AMD K6 (model 6,7) plus the
AMD K6-3D (model 8) to the cpu type table.
1998-05-21 23:34:40 +00:00
thorpej
2352dfea2b Make this compile with LOCKDEBUG. 1998-05-20 17:32:13 +00:00
drochner
6de27a7083 Make copyout() and Co. work with PMAP_NEW on real i386 processors.
PMAP_NEW doesn't fault in page table pages automatically on access to
PTmap[], so we have to check the PTD explicitely.
If a PTP is needed, call uvm_fault(). pmap_enter() will DTRT.
Move calculation of the index into PTmap[] inside the loop in copyoutstr()
(non-PMAP_NEW case). Page boundary crosses are rare, so this should save
some cycles in average.
1998-05-20 16:30:54 +00:00
augustss
796e91b2a7 Add ym (Yamaha OPL3-SA3) driver. 1998-05-20 16:25:06 +00:00
thorpej
89835ce0fd Correct a typo in some code that isn't yet used. 1998-05-19 22:09:00 +00:00
thorpej
6626878e7b It is no longer necessary for pmap_pinit() and pmap_release() to be
pmap interface functions, as NetBSD no longer uses statically allocated
pmaps (except for the kernel pmap, which is special-cased anyhow).
1998-05-19 19:00:11 +00:00
drochner
4153971158 Framework to test standalone code in a friedly user environment. 1998-05-15 17:07:14 +00:00
drochner
a8857f05e8 Allow to use the code in user land test programs. 1998-05-15 16:38:53 +00:00
drochner
12d352b2f9 minor corrections 1998-05-14 18:34:11 +00:00
drochner
04682788a9 misc improvements:
-initialize errno to 0 before receiving
-minimal allowed packet size is 4 (empty data packet)
-Be nice to the TFTP server - tell it that the transfer is finished
  (additinal ACK at EOF, ERROR otherwise). Otherwise, it will linger
  around and retransmit. This can be left out (TFTP_NOTERMINATE) if we
  are really short on space.
1998-05-14 18:26:47 +00:00