Commit Graph

58 Commits

Author SHA1 Message Date
scw 197f977187 Pass the level and vector to vme_intr_map() in the correct order. 2000-07-24 15:00:41 +00:00
pk 19bd1749ad Add short device descriptions in comment lines. 2000-07-22 21:25:52 +00:00
mrg 0de5b6e260 these don't need <uvm/uvm_extern.h> at all, actually. 2000-07-10 13:54:54 +00:00
pk 0d97100854 Use vme_dmamap_create().
Also, this device lives in VME_D16 data space.
2000-07-07 21:12:21 +00:00
pk 67f1f77b78 Use vme_dmamap_create(). 2000-07-07 21:11:08 +00:00
thorpej d0827b0ed7 sparc/dev/sireg.h -> dev/vme/sireg.h 2000-07-04 01:29:14 +00:00
pk 93f987a210 The `si' driver has been transformed into an MI VME frontend. 2000-07-03 23:30:33 +00:00
fvdl dd3e309684 Fix some missed vm/vm.h -> uvm/uvm_extern.h conversions. 2000-06-29 19:27:55 +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
pk c7477bfbe5 Fix spelling and formatting. 2000-06-25 00:23:13 +00:00
chs d4ffcd0cec change ifdef __sun3__ to sun3, since the former isn't defined on sun3.
(not that it matters, since the sun3 currently has its own copy of
these files anyway, but it's nice to be consistent.)
2000-06-05 15:58:43 +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 21fc65e1a8 sleep() -> tsleep() 2000-05-27 04:52:27 +00:00
thorpej 071aed40ac A foolish consistency; most parts of the kernel use bp->b_data, so
change these from bp->b_un.b_addr to bp->b_data, as well.  This also
allows us more flexibility to experiment with other data buffer types
hung off of struct buf.
2000-05-19 18:54:22 +00:00
thorpej 463931b3ba Nuke dk_establish() from orbit except from those ports which still use
it to determine the boot device: mvme68k, pc532, macppc, ofppc.  Those
platforms should be changed to use device_register().  In the mean time,
those ports defined __BROKEN_DK_ESTABLISH.
2000-05-16 05:45:44 +00:00
pk 82dbe14248 No need to specify page alignment; this is automatic. 2000-05-10 14:25:43 +00:00
pk 1bf775b965 Conform bus_dmamem_{alloc,map} usage to bus_dma(9) specs. 2000-05-09 22:42:08 +00:00
chs 8ad280f815 sparc -> __sparc__
sun3 -> __sun3__
2000-04-10 02:16:15 +00:00
thorpej fc96443d15 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 07:01:25 +00:00
soren 95054da1a1 Fix doubled 'the's in comments. 2000-03-13 23:52:25 +00:00
drochner 469464d4c8 add forward declaration of "struct extent", so the extent header doesn't
need to be included
2000-02-25 10:33:12 +00:00
thorpej fe551f0e64 Fix a bug in disksort_*() which caused non-optimal ordering when multiple
active partitions were on a single spindle.  Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
thorpej 0b0aecffd6 Update for sys/buf.h/disksort_*() changes. 2000-01-21 23:43:10 +00:00
thorpej f7c9b87381 Update for sys/buf.h/disksort_*() changes, plus make it compilable on
more systems.
2000-01-21 23:41:45 +00:00
drochner 36e00c28de fix the previous fix 1999-07-28 10:03:02 +00:00
christos fb4ecab492 make these compile again s/#endif/#else/
again, it is impossible for me to make sure that they work.
1999-07-28 06:35:06 +00:00
drochner 83eb712e3c update for new VME framework 1999-06-30 15:07:45 +00:00
drochner 44418fdf70 new, more mi, VME framework 1999-06-30 15:06:05 +00:00
pk b0de87c45f To clear a chunk of bus memory use bus_space_set_regionN(). 1999-03-23 12:01:45 +00:00
pk df7a15e33c * sparc => __sparc__
* wrap Sun disklabel code in `#if __sparc__ || __sun3__' for now.
1999-03-05 10:38:16 +00:00
mrg 9d4112bf21 make struct xd_iocmd's block member an u_int not a u_long 1998-08-22 15:11:02 +00:00
pk bc7c6c0c4c Fix DVMA address handling. 1998-08-22 11:47:45 +00:00
mrg 165447c4e1 moved <machine/sun_disklabel.h> to <dev/sun/disklabel.h> 1998-06-20 13:12:54 +00:00
pk 5bdabceb87 Send the DMA, not KVA, addresses of I/O descriptors to the controller. 1998-06-18 22:08:43 +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
pk 7bd7c58939 Fix function argument type. 1998-04-24 20:20:33 +00:00
pk 03b9fa0bc1 Change last arg of `vct_mmap_cookie' from `int *' to `bus_space_handle_t *'. 1998-04-07 20:31:26 +00:00
pk d22f956657 Remove `_NEW_I82586'. 1998-02-28 01:15:51 +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
pk 0725302eac vme_bus_probe() takes an `offset' argument. 1998-02-06 00:22:41 +00:00
pk 40b15d9230 Add `offset' argument to probe routine. 1998-02-06 00:21:49 +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
pk 3995590109 Use `offsetof()'. 1998-02-04 01:19:23 +00:00
pk 749d6cf61d Account for changed vme_bus_probe() args.
Fix vme_ie_write24() to use bus_space_write_2() in stead of poking
directly into the bus handle.
1998-02-04 00:59:02 +00:00
pk 62f18b7ff0 Use vme_bus_probe() callback for device detection.
Use correct VME modifier (A16+D32 instead of A32).
1998-02-04 00:55:52 +00:00
pk 47afb35008 Use vme_bus_probe() callback for device detection. 1998-02-04 00:54:27 +00:00
pk c7a01456a0 Add a callback function to vme_bus_probe(), for device-specific probes
using mapped device space.
1998-02-04 00:50:44 +00:00
thorpej 296d96f42c Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.
1998-02-04 00:38:50 +00:00
pk c1e336fc0b Erase a spurious structure definition. 1998-02-04 00:38:34 +00:00
pk 1b0d54e29a Adapt to recent i82586 driver changes. 1998-01-25 19:57:27 +00:00