Commit Graph

16 Commits

Author SHA1 Message Date
tsutsui 52b46dcf6f - Use ANSI function declarations and make some functions static.
- Some KNF
2004-09-04 13:43:11 +00:00
tsutsui 378871cd27 Include ioconf.h to declare struct cfdriver. 2004-09-04 11:28:32 +00:00
tsutsui e6be65a968 Adapt to NCR5380_USE_BUS_SPACE. 2004-08-13 12:54:44 +00:00
lukem ed51729135 __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
tsutsui 14e6518ceb Fix typo, and TAB/space cosmetics. 2003-04-19 16:43:59 +00:00
tsutsui 0687b33b99 Remove __P(). 2002-12-20 16:23:46 +00:00
chs 1c2419d28a merge the 12 copies of vm_machdep.c on the m68k platforms.
clean up some other stuff along the way, including:
 - use m68k/cacheops.*, remove duplicates from cpu.h.
 - centralize a few declarations in (all the copies of) cpu.h.
 - define M68K_VAC on platforms which have a VAC.
 - switch the sun platforms to the (now common) proc_trampoline().
 - do the phys_map thang on the sun platforms too, no reason not to.
2002-10-20 02:37:21 +00:00
thorpej 021b694d77 Use CFATTACH_DECL(). 2002-10-02 04:40:08 +00:00
thorpej f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
provos 0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
bouyer 937a7a3ed9 Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
  ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
  to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
  peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
  recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
  scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
  (no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
  set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
  the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
  will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
2001-04-25 17:53:04 +00:00
tsutsui 9100212ef0 Add a "sc_rev" member to ncr5380_softc and handle CXD1180 quirk
in MI ncr5380sbc.
2000-03-25 15:27:54 +00:00
tsutsui 78557dc2c6 Sync with MI ncr5380sbc changes.
XXX CXD1180 quirk code should be merged into the MI ncr5380sbc driver...
2000-03-19 16:28:04 +00:00
tsutsui 6968a454bd Add news1200 support.
Based on a patch from Koichi NISHIWAKI <k-nis@ba2.so-net.ne.jp>
2000-02-08 16:17:28 +00:00
tsutsui 995d49ac90 Add #include <machine/cpu.h> 2000-01-19 16:13:50 +00:00
tsutsui a109943094 Initial import of news68k port. 1999-12-09 14:53:00 +00:00