Date: Sat, 22 May 1999 15:04:22 -0700 (PDT) From: "Justin T. Gibbs" <gibbs@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci amd.c amd.h src/sys/cam cam_ccb.h cam_periph.c cam_periph.h cam_xpt.c src/sys/cam/scsi scsi_all.h scsi_cd.c scsi_ch.c scsi_da.c scsi_pass.c scsi_pt.c scsi_sa.c scsi_target.c src/sys/dev/aic7xxx aic7xxx.c aic7xxx.h aic7xxx.seq Message-ID: <199905222204.PAA51779@freefall.freebsd.org>
index | next in thread | raw e-mail
gibbs 1999/05/22 15:04:19 PDT
Added files:
sys/pci amd.c amd.h
Log:
First cut at a driver for the amd53c974 PCI SCSI host adapter. This
driver lacks error recovery and still needs more testing, but it's
about time I got it under revision control.
Submitted by: Tekram Inc.
Bus Space/DMA and cleanup: gibbs
Modified files:
sys/cam cam_ccb.h cam_periph.c cam_periph.h
cam_xpt.c
Log:
Add the XPT_PATH_STATS and XPT_GDEV_STATS function codes. These ccb
types allow the reporting of error counts and other statistics. Currently
we provide information on the last BDR or bus reset as well as active
transaction inforamtion, but this will be expanded as more information is
added to aid in error recovery.
Use the 'last reset' information to better handle bus settle delays.
Peripheral drivers now control whether a bus settle delay occurs and
for how long. This allows target mode peripheral drivers to avoid
having their device queue frozen by the XPT for what shoudl only be
initiator type behavior.
Don't perform a bus reset if the target device is incapable of performing
transfer negotiation (e.g. Fiber Channel).
If we don't perform a bus reset but the controller is capable of transfer
negotiations, force negotiations on the first transaction to go to the
device. This ensures that we aren't tripped up by a left over negotiation
from the prom, BIOS, loader, etc.
Add a default async handler funstion to cam_periph.c to remove duplicated
code in all initiator type peripheral drivers.
Allow mapping of XPT_CONT_TARGET_IO ccbs from userland. They are
itentical to XPT_SCSI_IO ccbs as far as data mapping is concerned.
Revision Changes Path
1.6 +32 -1 src/sys/cam/cam_ccb.h
1.14 +77 -1 src/sys/cam/cam_periph.c
1.4 +9 -1 src/sys/cam/cam_periph.h
1.59 +162 -111 src/sys/cam/cam_xpt.c
Modified files:
sys/cam/scsi scsi_all.h scsi_cd.c scsi_ch.c scsi_da.c
scsi_pass.c scsi_pt.c scsi_sa.c
scsi_target.c
Log:
Add a default async handler funstion to cam_periph.c to remove duplicated
code in all initiator type peripheral drivers.
scsi_target.c:
Release ATIO structures that wind up in the 'unkown command queue'
for consumption by our userland counterpart, back to the controller
when the exception for that command is cleared.
Revision Changes Path
1.8 +28 -1 src/sys/cam/scsi/scsi_all.h
1.21 +3 -8 src/sys/cam/scsi/scsi_cd.c
1.12 +2 -9 src/sys/cam/scsi/scsi_ch.c
1.25 +3 -8 src/sys/cam/scsi/scsi_da.c
1.10 +2 -9 src/sys/cam/scsi/scsi_pass.c
1.8 +3 -10 src/sys/cam/scsi/scsi_pt.c
1.25 +2 -9 src/sys/cam/scsi/scsi_sa.c
1.12 +3 -1 src/sys/cam/scsi/scsi_target.c
Modified files:
sys/dev/aic7xxx aic7xxx.c aic7xxx.h aic7xxx.seq
Log:
aic7xxx.c:
Honor the 'bus reset at startup' option now that the XPT properly
handles transfer negotiation in this scenario.
Honor the sync rate settings on Ultra2 controllers. We would
always negotiate at the fastest speed. Oops.
aic7xxx.h:
Whitespace.
aic7xxx.seq:
Fix a minor nit that would cause the controller to miss the update
of the negotiation required bitmask causing the negotiation to
be delayed by a command.
Revision Changes Path
1.30 +5 -14 src/sys/dev/aic7xxx/aic7xxx.c
1.10 +2 -2 src/sys/dev/aic7xxx/aic7xxx.h
1.89 +3 -2 src/sys/dev/aic7xxx/aic7xxx.seq
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905222204.PAA51779>
