freebsd-dev/sys
Marius Strobl 85de9f54f8 o Move the MODULE_DEPEND() for cam(4) from the esp_sbus.c front-end to
the ncr53c9x.c core where it actually belongs so future front-ends
  don't need to add it.
o Use the correct OFW property when looking for the initiator ID of the
  SBus device.
o Don't specify an alignment when creating the parent DMA tag for
  SUNW,fas; their DMA engine doesn't require an alignment constraint
  and it's no inherited by the child DMA tags anyway (which probably
  is a bug though).
o Drop the superfluous sc_maxsync and use sc_minsync instead. The
  former apparently was added due to a confusion with the maximum
  frequency used in cam(4), which basically corresponds to the
  inverse of minimum sync period.
o Merge ncr53c9x.c from NetBSD:
  1.116: NCRDMA_SETUP() should be called before NCR_SET_COUNT() and
         NCRCMD_DMA command in ncr53c9x_select().
  1.125: free allocated resources on detach.
o Static'ize ncr53c9x_action(), ncr53c9x_init() and ncr53c9x_reset()
  as these are not required outside of ncr53c9x.c.
o In ncr53c9x_attach() don't leak the device mutex in case attaching
  fails.
o Register an asynchronous notification handler so in case cam(4)
  reports a lost device we can cancel outstanding commands and
  restore the default parameters for the target in question.
o For FAS366 correctly support 16-bit target IDs and let it know
  that we use 32-bit transfers.
o Overhaul the negotiation of transfer settings. This includes
  distinguishing between current and goal transfer settings of the
  target so we can renegotiate their goal settings when necessary
  and correcting the order in which tagged, wide and synchronous
  transfers are negotiated.
o If we are requesting sense, force a renegotiation if we are
  currently using anything different from asynchronous at 8 bit
  as the target might have lost our transfer negotiations.
o In case of an XPT_RESET_BUS just directly call ncr53c9x_init()
  instead of issuing a NCRCMD_RSTSCSI, which in turn will issue an
  interrupt that is treated as an unexpected SCSI bus reset by
  ncr53c9x_intr() and thus calls ncr53c9x_init(). Remove the now
  no longer used ncr53c9x_scsi_reset().
o Correct an off-by-one error when setting cpi->max_lun.
o In replace printf(9) with device_printf(9) calls where appropriate
  and in ncr53c9x_action() remove some unnecessarily verbose messages.
o In ncr53c9x_sched() use TAILQ_FOREACH() instead of reimplementing
  it and consolidate two tagging-related target info checks into one.
o In ncr53c9x_done() set the CAM status to CAM_SCSI_STATUS_ERROR when
  appropriate, respect CAM_DIS_AUTOSENSE and teach it to return SCSI
  status information.
o In ncr53c9x_dequeue() ensure the tags are cleared.
o Use ulmin() instead of min() where appropriate.
o In ncr53c9x_msgout() consistently use the reset label.
o When we're interrupted during a data phase and the DMA engine is
  still active, don't panic but reset the core and the DMA engine as
  this should be sufficient. Also, the typical problem for triggering
  this was the lack of renegotiation when requesting sense.
o Correctly handle DEVICE RESETs.
o Adapt the locking of esp(4) to MPSAFE cam(4). This includes moving
  the calls of lsi64854_attach() to the bus front-ends so it can pass
  the esp(4) mutex to bus_dma_tag_create(9).
o Change the LSI64854 driver to not create a DMA tag and map for the
  Ethernet channel as le(4) will handle these on its own as well as
  sync and unload the DMA maps for the SCSI and parallel port channel
  after a DMA transfer.
o Cam(4)'ify some NetBSD-centric comments.
o Use bus_{read,write}_*(9) instead of bus_space_{read,write}_*(9)
  and take advantage of rman_get_rid(9) in order to save some softc
  members.

Reviewed by:	scottl
MFC after:	1 month
2008-09-08 20:20:44 +00:00
..
amd64 The pcb_gs32p should be per-cpu, not per-thread pointer. This is 2008-09-08 09:59:05 +00:00
arm Commit the no-brainer parts of my space saving kernel experiments. We 2008-09-08 00:41:32 +00:00
boot Ensure interrupts are off while in {d,i}tlb_va_to_pa_sun4u(). 2008-09-04 19:41:54 +00:00
bsm When MPSAFE ttys were merged, a new BSM audit event identifier was 2008-08-24 21:20:35 +00:00
cam Fix a locking mistake in daopen(). If the open fails, which can happen 2008-08-29 04:39:46 +00:00
cddl Initialize vp, so we don't call VOP_UNLOCK() with NULL vnode pointer. 2008-09-07 07:55:12 +00:00
compat Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
conf ds133x: Introduce device_identify method; update NOTES. 2008-09-08 10:40:48 +00:00
contrib Merge ath again (addition of wisoc files). 2008-09-05 22:24:31 +00:00
crypto Simplify session selection/allocation. 2008-08-09 20:01:01 +00:00
ddb Add a missing include which was erroneusly left out from the previous 2008-08-18 16:51:44 +00:00
dev o Move the MODULE_DEPEND() for cam(4) from the esp_sbus.c front-end to 2008-09-08 20:20:44 +00:00
fs Reflect license change of NetBSD code. 2008-09-03 18:53:48 +00:00
gdb
geom - Add a new ioctl for getting the provider name of a geom provider. 2008-09-07 13:54:57 +00:00
gnu Decontextualize vfs_busy(), vfs_unbusy() and vfs_mount_alloc() functions. 2008-08-31 14:26:08 +00:00
i386 Segment registers are stored in the uc_mcontext member of the struct 2008-09-07 16:39:21 +00:00
ia64 Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
isa MFp4 (my newcard tree): 2008-08-24 07:40:14 +00:00
kern Close a race in sleepq_broadcast() where the sleepq could be reused after 2008-09-08 19:44:57 +00:00
libkern Add strcspn to libkern for use by xenbus routines. Will add to build 2008-08-15 04:07:22 +00:00
mips style(9) 2008-09-04 17:10:52 +00:00
modules Per email to arch@ a little while ago (that was greeted with silence), 2008-09-01 23:59:00 +00:00
net Put the bridge mac inheritance behind a sysctl with the default off as this 2008-09-08 03:28:26 +00:00
net80211 make all checks if ni_chw consistent 2008-09-06 17:51:02 +00:00
netatalk Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netgraph Add Marko's pipe node. 2008-09-03 18:17:45 +00:00
netinet To my reading there are no real consumers of ip6_plen (IPv6 2008-09-07 20:44:45 +00:00
netinet6 - Fix amd64 local privilege escalation. [08:07] 2008-09-03 19:09:47 +00:00
netipsec Commit step 1 of the vimage project, (network stack) 2008-08-17 23:27:27 +00:00
netipx Begin the sysctl descriptions with a capital letter. 2008-07-25 23:54:07 +00:00
netnatm Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netncp
netsmb
nfs
nfs4client Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
nfsclient Decontextualize vfs_busy(), vfs_unbusy() and vfs_mount_alloc() functions. 2008-08-31 14:26:08 +00:00
nfsserver Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
nlm Rename RPC's 'struct pmap' to 'struct portmap' to avoid confusing it with 2008-08-25 09:36:17 +00:00
opencrypto
pc98 - Add the i386_memio_map_load() function to load I/O address table. 2008-09-07 04:44:24 +00:00
pccard
pci Move wb driver from sys/pci to sys/dev/wb. 2008-08-14 21:26:29 +00:00
powerpc Trace interrupts with KTR_INTR. 2008-08-31 23:54:22 +00:00
rpc Rename RPC's 'struct pmap' to 'struct portmap' to avoid confusing it with 2008-08-25 09:36:17 +00:00
security Unbreak the build. 2008-09-04 13:06:36 +00:00
sparc64 o Move the MODULE_DEPEND() for cam(4) from the esp_sbus.c front-end to 2008-09-08 20:20:44 +00:00
sun4v MFsparc64: r177642 2008-09-02 21:35:57 +00:00
sys Bump __FreeBSD_version for per-CPU GDT on amd64. 2008-09-08 10:27:11 +00:00
tools
ufs When calling extattr_check_cred, use V{READ,WRITE}, not I{READ,WRITE}. 2008-09-03 12:46:09 +00:00
vm Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
xdr
xen - add more debug cruft to xenbus 2008-08-20 09:20:12 +00:00
Makefile Improve the glimpse target: don't index .svn and compile directories. 2008-08-15 14:11:30 +00:00