Commit Graph

188 Commits

Author SHA1 Message Date
lukem
bd8d501f7e remove options FIFO; it's now the default 1998-06-26 01:53:43 +00:00
thorpej
816e12eac2 defopt COMPAT_SVR4 1998-06-26 00:07:06 +00:00
sommerfe
446beb9dc4 defopt COMPAT_386BSD_MBRPART into opt_mbr.h 1998-06-22 21:12:51 +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
thorpej
02182100df Use config_defer(). 1998-06-09 18:49:33 +00:00
sakamoto
949c52c154 add address conversion macro for MPC105 and some fix. 1998-06-09 05:53:30 +00:00
sakamoto
040581ceed Add UVM support. 1998-06-09 05:41:19 +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
f194cb8705 Provide an isa_chipset_tag_t to children. 1998-06-09 00:10:27 +00:00
thorpej
0b76aff07b 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:10:02 +00:00
thorpej
eddb2f4269 Adjust for change to the ISA DMA API. 1998-06-09 00:09:43 +00:00
lukem
8fb1228bc8 everything has bugs; either document them or don't bother with a BUGS section 1998-06-08 13:02:19 +00:00
lukem
ed25dc5c57 if there's no known bugs, don't have a BUGS section 1998-06-08 11:35:10 +00:00
lukem
cd2f6e9504 remove unnecessary paragraph separator 1998-06-08 11:34:41 +00:00
lukem
d719a4221f if there's no known bugs, don't have a BUGS section 1998-06-08 11:34:04 +00:00
thorpej
f8acb6d6fa Sync w/ i386 port:
Eliminate some needless indirection through ISA DMA front-end functions.
1998-06-03 21:55:26 +00:00
thorpej
52450409d6 Sync w/ i386 port:
Implement bounce buffers for mbufs.

Also, correct copyright snafus, and a forgot-o left over from a commit
I made yesterday.
1998-06-03 21:52:36 +00:00
thorpej
28486ff301 Remove the _cookie member of the DMA tag; it's not used by anything. (This
was already done to the i386 port.)
1998-06-03 06:47:41 +00:00
thorpej
7b37a276e2 Sync w/ i386 port:
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:43:04 +00:00
thorpej
6ffa35b390 Sync w/ i386 port:
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:41:51 +00:00
thorpej
b5c2ecc231 Sync w/ i386 port:
Add a `bounce threshold' to the i386 DMA tag.
1998-06-03 06:40:45 +00:00
thorpej
2e846b8c1e Sync w/ i386 port. 1998-06-03 04:20:22 +00:00
thorpej
a7f360c6c9 Specify a non-profiling C rule. 1998-05-31 23:25:41 +00:00
drochner
0c05b92da1 pull in new PC display headers 1998-05-28 16:59:31 +00:00
sakamoto
45439ad32b Use new PowerPC-generic stuff(sys/arch/powerpc). 1998-05-28 08:44:56 +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
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
kleink
687ea7404c Fix some arithmetics lossage on typeless pointers. 1998-05-08 16:55:15 +00:00
kleink
aa36ad1f55 Fix some arithmetics lossage on typeless pointers. 1998-05-07 21:01:41 +00:00
thorpej
1686aca01d Pull in opt_gateway.h as appropriate. 1998-04-29 23:11:00 +00:00
kleink
a53c1863fe Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
types large enough to hold any pointer.
1998-04-27 17:39:10 +00:00
sakamoto
9880e1560f Back out the changes about NVGA. It's not necessary. 1998-04-20 12:24:03 +00:00
sakamoto
90bb94019a Use NVGA_ISA and NVGA_PCI instead of NVGA
for ISA/PCI frontend of vga.c.
1998-04-20 05:27:41 +00:00
drochner
f44d3a08e5 "spkr" is now MI. Keep this file for compatibility. 1998-04-15 21:53:47 +00:00
drochner
ebefb51112 cdev_{wsdisplay,spkr}_init() are now in sys/conf.h 1998-04-15 21:52:14 +00:00
drochner
abce54eaa2 spkr stuff is now in sys/conf.h 1998-04-15 21:48:51 +00:00
drochner
70702ea730 "spkr" attaches to "pcppi" now. 1998-04-15 21:46:23 +00:00
drochner
37db4134a0 VGA and spkr are now MI. 1998-04-15 21:44:39 +00:00
tv
b21bfbde11 Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
tv
482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
sakamoto
2467110095 Change commented out default baudrate(38400 to 9600) of serial console. 1998-03-27 00:11:07 +00:00
sakamoto
94a783a350 allow use of new wscons code. 1998-03-27 00:07:53 +00:00
sakamoto
f9133e686e Change default console. pc -> wscons 1998-03-26 23:51:08 +00:00
sakamoto
6143f6a20e Allow to use the new VGA and keyboard controller drivers as console 1998-03-26 23:45:59 +00:00
sakamoto
a46fb646ee add entries for the new wscons stuff 1998-03-26 23:43:43 +00:00
sakamoto
a81efa33bc tell drivers that this port knows about the new wscons code
(and generates the NWSCONS etc include files)
1998-03-26 23:42:53 +00:00
sakamoto
3334a0d040 Add bus_space_copy_region_N(). 1998-03-26 23:41:51 +00:00
mycroft
0dae91d9af Eliminate uses of TS_WOPEN in hard-wired devices. 1998-03-21 22:52:59 +00:00
bouyer
9f50fca1fd Add commented out "options FFS_EI" 1998-03-18 16:34:41 +00:00
mikel
415c4a15df duplicate i386 fixes (q.v.) 1998-03-04 07:20:13 +00:00
perry
1ed8ea9966 note second parm of sysarch() is now void *, + trivial KNF, etc. 1998-02-25 21:41:55 +00:00
thorpej
8a5a1155cf Include KERNFS option header. 1998-02-19 00:30:38 +00:00
mycroft
2e55db84dd Sync with powerpc/include/vmparam.h; removes some things which are not used. 1998-02-18 11:11:24 +00:00
mycroft
3b9429b248 Minor changes to make all the float.h files match. 1998-02-18 11:01:27 +00:00
thorpej
8354e68508 Remove "class" declarations, and add "devclass" declarations where
appropriate.  Fix several inconsistencies between device class and
attributes.  Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
sakamoto
d053bf6ffe Eliminate unnecessary code.
The bebox has only one PCI-ISA bridge(82378ZB).
1998-02-12 05:19:04 +00:00
sakamoto
e6ebe3f36f Add avail_end for DMA (temporary). 1998-02-12 05:16:06 +00:00
sakamoto
eef219fd43 Sync with powerpc/include/endian.h 1998-02-12 01:28:48 +00:00
sakamoto
4a3839dbdd Sync with powerpc/include/ansi.h 1998-02-12 01:21:10 +00:00
sakamoto
fcfdcaa513 Sync with port-i386. 1998-02-12 01:19:04 +00:00
sakamoto
4429e5c5fe Import memory disk filesystem hook from port-i386. 1998-02-12 01:03:58 +00:00
thorpej
c26f962957 Use kernel_map in bus_dmamem_{map,free}(). 1998-02-11 03:08:31 +00:00
thorpej
30aa56fc66 Use M_DMAMAP where appropriate. 1998-02-11 01:37:51 +00:00
sakamoto
9a3f7a093f Use dev/isa/isadma.c. 1998-02-05 03:06:28 +00:00
sakamoto
a2b24d5571 Change "__BUS_SPACE_NEED_STREAM_METHODS" to "__BUS_SPACE_HAS_STREAM_METHODS". 1998-02-04 14:13:40 +00:00
thorpej
8abe76d2f0 Add offset and length parameters to bus_dmamap_sync(), used for specifiying
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej
99cc8482d1 Change the last argument of bus_dmamap_sync() from bus_dmasync_op_t to int,
and allow more than one synchronization operation to be specified in
a single call.  Dissallow mixing of PRE and POST operations.
1998-02-04 01:57:27 +00:00
thorpej
a7c5c1ef3c Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.
1998-02-04 00:32:55 +00:00
thorpej
f35992633d - Implement bus_dmamap_load_mbuf() (copied from i386 port).
- Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
  BUS_DMA_COHERENT.
1998-02-04 00:32:22 +00:00
sakamoto
484f3e93b1 Correct copyright notice. 1998-02-03 07:00:34 +00:00
sakamoto
4cec855834 Change bebox_bus_{io,mem} to BEBOX_BUS_SPACE_{IO,MEM} 1998-02-03 04:38:53 +00:00
sakamoto
e65fe12381 Remove MD ed,wdc drivers. 1998-02-03 04:34:49 +00:00
sakamoto
e3fee92b6e Change bebox_bus_{io,mem}.bus_base to BEBOX_BUS_SPACE_{IO,MEM}. 1998-02-03 04:32:17 +00:00
sakamoto
821174f3ba Remove MD ed,wdc drivers and Support MI ne,wdc drivers.
Change assembler source suffix.
1998-02-03 03:59:53 +00:00
sakamoto
1f9630f4a8 rename {locore,setjmp}.S to {locore,setjmp}.s 1998-02-03 03:53:23 +00:00
sakamoto
cf5d09dc82 Add bus_space_{read,write,set}_{,multi,region}_stream_{2,4,8}().
These methods would be used where "raw" data needs to
{read,write,set} unchanged.
Add define __BUS_SPACE_NEED_STREAM_METHODS.
1998-02-03 03:11:15 +00:00
sakamoto
7026df0613 remove unnecessary cast. 1998-02-03 03:10:24 +00:00
mycroft
b5c132e4d2 Prototype __flt_rounds() consistently. 1998-02-03 01:26:20 +00:00
sakamoto
d5e690b8b7 Eliminate __BROKEN_INDIRECT_CONFIG 1998-02-02 05:54:20 +00:00
sakamoto
f94197be4a Eliminate unnecessary define. 1998-02-02 05:17:40 +00:00
sakamoto
56620b3054 Move "read clock information from bootinfo" to initppc() from cpu_initclocks()
for delay() before cpu_initclocks().
Sync with powerpc/powerpc/machdep.c.
1998-02-02 04:59:19 +00:00
drochner
6e2af98681 adapt to changed <dev/ic/i8253reg.h> 1998-01-19 11:39:57 +00:00
sakamoto
39d4125cc3 add com0,com1,com2,com3
comment out wdc0, wd*(temporary)
1998-01-19 03:58:35 +00:00
sakamoto
9c3c5ad478 Support bootinfo like i386-port.
-define a buffer for information passed by the bootloader
-add a function ("lookup_bootinfo") to extract data
-use passed console information, for console attachment (VGA or SERIAL)
-use passed clock information, for timebase, decremente register
1998-01-19 03:47:41 +00:00
sakamoto
5f78a36791 Add findcpuspeed for delay() and to pass to the kernel(BUS FREQ information).
some bug fix.
1998-01-19 03:00:55 +00:00
sakamoto
7bffb69b4c Add btinfo_clock for BUS FREQ information.
some fix.
1998-01-19 02:52:02 +00:00
sakamoto
9b5302f3da eliminate unnecessary declaration. 1998-01-19 02:47:33 +00:00
sakamoto
5a1a1979bb eliminate unnecessary code.
include dev/ic/i8253reg.h instead of timerreg.h
1998-01-19 02:20:55 +00:00
sakamoto
0075503ee7 Sync with arch/i386/isa/pccons.c 1998-01-19 01:49:43 +00:00
drochner
32d94859ea adapt to changed <dev/ic/i8042reg.h> 1998-01-18 14:45:10 +00:00
sakamoto
b1bde3fc9e initial import of bebox kernel loader. 1998-01-16 04:17:36 +00:00
sakamoto
538f1fec20 initial import of bebox kernel loader. 1998-01-16 04:07:35 +00:00
sakamoto
ea7c4f2cab Data structures passed from the boot loader to the kernel 1998-01-16 04:04:14 +00:00
cgd
4fdd07b4c5 remove 'ata' interface attribute. it now is define in the MI conf/files. 1998-01-14 23:56:23 +00:00
sakamoto
7b093957d3 interrupt name change "softtty" -> "softserial" 1998-01-13 03:52:49 +00:00
thorpej
cfdba7eac6 Update for changes to config. 1998-01-12 18:18:01 +00:00
sakamoto
1f703bce45 Sync w/ dev/isa/wdc.c 1998-01-12 06:08:41 +00:00
sakamoto
38efb3ac5f add The Be interrupt controller setmask function(bebox_intr_mask).
change SINT_TTY to SINT_SERIAL
       splsofttty to splsoftserial, and so on.
1998-01-12 04:57:10 +00:00
perry
6f57e5c573 multiple include protect machine/limits.h, fixes pr 4473 (from Mika Nystrom) 1998-01-09 22:23:44 +00:00
perry
b46484bb8a RCSID Police. 1998-01-05 20:51:25 +00:00