freebsd-dev/sbin
Kenneth D. Merry 9deea8574e Add a number of interrelated CAM feature enhancements and bug fixes.
NOTE:  These changes will require recompilation of any userland
applications, like cdrecord, xmcd, etc., that use the CAM passthrough
interface.  A make world is recommended.

camcontrol.[c8]:
 - We now support two new commands, "tags" and "negotiate".

	- The tags commands allows users to view the number of tagged
	  openings for a device as well as a number of other related
	  parameters, and it allows users to set tagged openings for
	  a device.

	- The negotiate command allows users to enable and disable
	  disconnection and tagged queueing, set sync rates, offsets
	  and bus width.  Note that not all of those features are
	  available for all controllers.  Only the adv, ahc, and ncr
	  drivers fully support all of the features at this point.
	  Some cards do not allow the setting of sync rates, offsets and
	  the like, and some of the drivers don't have any facilities to
	  do so.  Some drivers, like the adw driver, only support enabling
	  or disabling sync negotiation, but do not support setting sync
	  rates.

 - new description in the camcontrol man page of how to format a disk
 - cleanup of the camcontrol inquiry command
 - add support in the 'devlist' command for skipping unconfigured devices if
   -v was not specified on the command line.
 - make use of the new base_transfer_speed in the path inquiry CCB.
 - fix CCB bzero cases

cam_xpt.c, cam_sim.[ch], cam_ccb.h:

 - new flags on many CCB function codes to designate whether they're
   non-immediate, use a user-supplied CCB, and can only be passed from
   userland programs via the xpt device.  Use these flags in the transport
   layer and pass driver to categorize CCBs.

 - new flag in the transport layer device matching code for device nodes
   that indicates whether a device is unconfigured

 - bump the CAM version from 0x10 to 0x11

 - Change the CAM ioctls to use the version as their group code, so we can
   force users to recompile code even when the CCB size doesn't change.

 - add + fill in a new value in the path inquiry CCB, base_transfer_speed.
   Remove a corresponding field from the cam_sim structure, and add code to
   every SIM to set this field to the proper value.

 - Fix the set transfer settings code in the transport layer.

scsi_cd.c:

 - make some variables volatile instead of just casting them in various
   places
 - fix a race condition in the changer code
 - attach unless we get a "logical unit not supported" error.  This should
   fix all of the cases where people have devices that return weird errors
   when they don't have media in the drive.

scsi_da.c:

 - attach unless we get a "logical unit not supported" error

scsi_pass.c:

 - for immediate CCBs, just malloc a CCB to send the user request in.  This
   gets rid of the 'held' count problem in camcontrol tags.

scsi_pass.h:

 - change the CAM ioctls to use the CAM version as their group code.

adv driver:

 - Allow changing the sync rate and offset separately.

adw driver

 - Allow changing the sync rate and offset separately.

aha driver:

 - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs.

ahc driver:

 - Allow setting offset and sync rate separately

bt driver:

 - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs.

NCR driver:

 - Fix the ultra/ultra 2 negotiation bug
 - allow setting both the sync rate and offset separately

Other HBA drivers:
 - Put code in to set the base_transfer_speed field for
   XPT_GET_TRAN_SETTINGS CCBs.

Reviewed by:	gibbs, mjacob (isp), imp (aha)
1999-05-06 20:16:39 +00:00
..
adjkerntz Correct use of .Nm. Add missing .El. Add rcsid. Remove unused #include. 1998-06-04 06:35:12 +00:00
atm Clarify the number of network interfaces per physical interface available with 1999-01-20 18:36:58 +00:00
badsect Fixed printf format errors. 1998-06-28 18:34:01 +00:00
bsdlabel Update for boot block location change. 1999-01-02 23:28:44 +00:00
camcontrol Add a number of interrelated CAM feature enhancements and bug fixes. 1999-05-06 20:16:39 +00:00
ccdconfig don't use <sys/disk.h> 1999-05-06 19:20:34 +00:00
clri Correct .Nm. Spelling. Add rcsid, remove unused #includes. Add usage(). Do not 1998-06-04 06:44:18 +00:00
comcontrol Add rcsid. Remove unused #includes. Use err(3). 1998-06-30 06:09:37 +00:00
cxconfig Add SYNOPSIS section and change NULL to NUL in man page. Add rcsid, missing 1998-06-30 06:12:44 +00:00
dhclient Install dhclient-script under ${DESTDIR}. 1999-04-03 07:09:59 +00:00
disklabel Update for boot block location change. 1999-01-02 23:28:44 +00:00
dmesg Use an error message that more clearly indites(sp?) an out-of-sync 1998-07-27 18:53:45 +00:00
dump temporary workaround for bin/11464 1999-05-03 13:53:16 +00:00
dumpfs Add rcsid. Remove unused #includes. 1998-06-15 07:00:01 +00:00
dumpon Sort cross references. 1998-08-31 16:41:09 +00:00
fdisk Note that a standard MBR supports booting only from hard drive 0 1999-03-13 01:40:57 +00:00
fsck Cosmetic and documentation changes brought from earlier FreeBSD versions. 1998-12-03 02:41:11 +00:00
fsck_ffs Cosmetic and documentation changes brought from earlier FreeBSD versions. 1998-12-03 02:41:11 +00:00
fsck_ifs Cosmetic and documentation changes brought from earlier FreeBSD versions. 1998-12-03 02:41:11 +00:00
fsdb More egcs warning fixes: 1999-04-25 22:33:30 +00:00
fsirand Do not dot terminate SEE ALSO list. Add rcsid, remove unused #includes. Err(3) 1998-06-30 06:18:44 +00:00
i386 Note that a standard MBR supports booting only from hard drive 0 1999-03-13 01:40:57 +00:00
ifconfig Grrr... botched remote commit. Let's try this again: vlan updates, 1999-03-15 01:22:01 +00:00
init Mention securelevel 3 as affecting ipfw and dummynet. Generalize comment 1998-12-16 16:50:12 +00:00
ipf Initial bmake scaffolding for ipfilter userland stuff. 1998-03-21 13:53:18 +00:00
ipfstat Initial bmake scaffolding for ipfilter userland stuff. 1998-03-21 13:53:18 +00:00
ipfw Add ICMP types to list of information about each packet. 1999-04-29 19:14:17 +00:00
ipmon Install ipmon.8 in man8/ not man1/. 1998-08-30 04:48:00 +00:00
ipnat Initial bmake scaffolding for ipfilter userland stuff. 1998-03-21 13:53:18 +00:00
kget Fix typos and -mdoc usage. 1999-05-06 11:28:01 +00:00
kldload Fill-in the manpages a little. 1998-11-12 11:10:26 +00:00
kldstat Fill-in the manpages a little. 1998-11-12 11:10:26 +00:00
kldunload Fill-in the manpages a little. 1998-11-12 11:10:26 +00:00
ldconfig Make usage() reflect reality (add the -aout and -elf options). 1999-04-21 20:06:42 +00:00
md5 Fixes for -t option: 1999-05-01 14:54:21 +00:00
mknod Remove unused #include. Add usage(). 1998-07-06 07:06:15 +00:00
mount modload -> kldload and add ref to kldload(8) in See Also section. 1999-04-08 13:59:42 +00:00
mount_cd9660 Add support for Joliet extensions to the iso9660 fs. The related PR 1999-04-18 10:58:03 +00:00
mount_ext2fs Don't refuse to pass the force and sync options to the kernel. The 1998-09-09 16:26:51 +00:00
mount_ifs modload -> kldload and add ref to kldload(8) in See Also section. 1999-04-08 13:59:42 +00:00
mount_msdos Update to match rev. 1.28 of msdosfs_lookup.c. 1999-01-11 18:35:14 +00:00
mount_msdosfs Update to match rev. 1.28 of msdosfs_lookup.c. 1999-01-11 18:35:14 +00:00
mount_nfs Sync usage string and man page. Correct use of .Nm. Spelling. Remove 1998-07-06 07:15:53 +00:00
mount_ntfs Fix typos. 1999-05-04 11:34:33 +00:00
mount_null User reports that using mount_null destroyed his filesystem, I reply 1998-12-22 11:52:10 +00:00
mount_nullfs User reports that using mount_null destroyed his filesystem, I reply 1998-12-22 11:52:10 +00:00
mount_portal Add pt_tcplisten.c functionality, fix a few minor bugs 1998-12-15 18:59:07 +00:00
mount_portalfs Add pt_tcplisten.c functionality, fix a few minor bugs 1998-12-15 18:59:07 +00:00
mount_std Correct use of .Nm. Remove unused #includes. 1998-07-15 06:08:47 +00:00
mount_umap User reports that using mount_null destroyed his filesystem, I reply 1998-12-22 11:52:10 +00:00
mount_umapfs User reports that using mount_null destroyed his filesystem, I reply 1998-12-22 11:52:10 +00:00
mount_union User reports that using mount_null destroyed his filesystem, I reply 1998-12-22 11:52:10 +00:00
mount_unionfs User reports that using mount_null destroyed his filesystem, I reply 1998-12-22 11:52:10 +00:00
mountd Typo fix in diagnostic: -alldir --> -alldirs 1999-04-21 22:42:36 +00:00
natd More egcs warning fixes: 1999-04-25 22:33:30 +00:00
newfs Describe the default values for useful options. 1999-03-10 21:59:02 +00:00
newfs_msdos Clean up some more residual /usr/mdec references. I left all the 1999-01-03 02:18:58 +00:00
nextboot Note that nextboot requires the legacy boot code. 1999-02-05 09:58:39 +00:00
nfsd Update refs for KLD's and kldload. 1999-04-01 01:42:28 +00:00
nfsiod Change LKM/modload to KLD/kldload. 1999-04-13 02:20:07 +00:00
nologin Added xref to nologin(5). 1999-02-01 21:02:38 +00:00
nos-tun Add ability to set protocol number. 1999-03-29 13:58:27 +00:00
ping More egcs warning fixes: 1999-04-25 22:33:30 +00:00
quotacheck Cosmetic and documentation changes brought from earlier FreeBSD versions. 1998-12-03 02:41:11 +00:00
reboot Add cross-reference to loader man page, plus various minor 1999-03-16 13:16:11 +00:00
restore Fix two possible non-exploitable buffer overflows. 1998-12-16 04:48:00 +00:00
route Mention the special destination "default" for default routes. Fix a 1999-05-04 18:41:32 +00:00
routed Incomplete. Back out until I can revisit. 1999-05-05 20:28:54 +00:00
savecore Fix savecore so that it works on alphas 1999-03-12 14:46:00 +00:00
shutdown Move nologin from /etc to /var/run. This means one less file that has 1999-01-11 09:07:42 +00:00
slattach Fixed printf format errors. 1998-08-02 16:06:35 +00:00
spppcontrol Rename spppcontrol.1 to spppcontrol.8. The latter file was created 1999-04-01 00:07:33 +00:00
startslip Correct use of .Nm and .Ev. 1998-08-03 06:32:57 +00:00
swapon .Nm swapon -> .Nm. 1998-08-03 06:35:01 +00:00
sysctl Clean up option handling a little. 1999-01-10 02:10:08 +00:00
tunefs Allow tuning of read-only mounted file system. 1999-01-20 01:22:39 +00:00
umount Use errx() instead of err() for malloc failures. -Wall. Do not dot 1998-08-03 06:44:46 +00:00
vinum timestamp: 1999-05-02 22:23:18 +00:00
Makefile Disconnect modload/modunload/modstat from their Makefiles.. 1999-04-18 15:56:20 +00:00
Makefile.inc