freebsd-dev/sbin
Kenneth D. Merry e6bd5983ca Add CAM infrastructure to allow reporting when a drive's long read capacity
data changes.

cam_ccb.h:	Add a new advanced information type, CDAI_TYPE_RCAPLONG,
		for long read capacity data.

cam_xpt_internal.h:
		Add a read capacity data pointer and length to struct cam_ed.

cam_xpt.c:	Free the read capacity buffer when a device goes away.
		While we're here, make sure we don't leak memory for other
		malloced fields in struct cam_ed.

scsi_all.c:	Update the scsi_read_capacity_16() to take a uint8_t * and
		a length instead of just a pointer to the parameter data
		structure.  This will hopefully make this function somewhat
		immune to future changes in the parameter data.

scsi_all.h:	Add some extra bit definitions to struct
		scsi_read_capacity_data_long, and bump up the structure
		size to the full size specified by SBC-3.

		Change the prototype for scsi_read_capacity_16().

scsi_da.c:	Register changes in read capacity data with the transport
		layer.  This allows the transport layer to send out an
		async notification to interested parties.  Update the
		dasetgeom() API.

		Use scsi_extract_sense_len() instead of
		scsi_extract_sense().

scsi_xpt.c:	Add support for the new CDAI_TYPE_RCAPLONG advanced
		information type.

		Make sure we set the physpath pointer to NULL after freeing
		it.  This allows blindly freeing it in the struct cam_ed
		destructor.

sys/param.h:	Bump __FreeBSD_version from 1000005 to 1000006 to make it
		easier for third party drivers to determine that the read
		capacity data async notification is available.

camcontrol.c,
mptutil/mpt_cam.c:
		Update these for the new scsi_read_capacity_16() argument
		structure.

Sponsored by:	Spectra Logic
2012-01-26 18:09:28 +00:00
..
adjkerntz
atacontrol Add a "kern.features.ata_cam" sysctl in the kernel when the ATA_CAM kernel 2011-10-09 21:42:02 +00:00
atm In sbin/atm/atmconfig/diag.c, fix a few warnings about format strings 2011-12-17 00:26:45 +00:00
badsect Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
bsdlabel Spelling fixes for sbin/ 2012-01-07 16:09:33 +00:00
camcontrol Add CAM infrastructure to allow reporting when a drive's long read capacity 2012-01-26 18:09:28 +00:00
ccdconfig Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
clri
comcontrol
conscontrol Changed "conscontrol unset" to accept an existing virtual 2011-04-18 20:28:07 +00:00
ddb Correct subcommand name 'unset' -> 'unscript'. 2011-06-18 22:32:55 +00:00
devd Fix build. 2012-01-06 15:01:05 +00:00
devfs Spelling fixes for sbin/ 2012-01-07 16:09:33 +00:00
dhclient Spelling fixes for sbin/ 2012-01-07 16:09:33 +00:00
dmesg Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
dump Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
dumpfs Add missing -l flag to usage(). 2011-12-26 16:47:45 +00:00
dumpon
fdisk Fix multi-line comment formatting. 2011-11-07 07:50:35 +00:00
fdisk_pc98 Add reference to gpart(8). 2011-11-06 20:39:35 +00:00
ffsinfo Remove trailing whitespace. 2011-11-09 21:01:50 +00:00
fsck Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
fsck_ffs Fix warning when compiling with gcc46: 2012-01-10 02:59:50 +00:00
fsck_msdosfs Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
fsdb Revert r228603, and add the workaround to sbin/fsdb/Makefile instead. 2011-12-18 17:42:26 +00:00
fsirand Fix warning when compiling with gcc46: 2012-01-10 02:59:43 +00:00
gbde Use NO_WCAST_ALIGN for sbin/gbde, this is more appropriate to fix the 2011-12-17 00:14:40 +00:00
geom Provide a better explanation for the sizing of the boot partition, and 2012-01-13 12:40:33 +00:00
ggate Because ggatel(8) operates on local GEOM providers, use unlimited queue size in 2011-04-02 06:59:05 +00:00
growfs Allow growfs to be built with GCC 4.7 and -Werror. 2012-01-17 22:19:35 +00:00
gvinum Fix warning when compiling with gcc46: 2012-01-10 02:59:26 +00:00
hastctl For functions that return -1 on failure check exactly for -1 and not for 2012-01-10 22:39:07 +00:00
hastd - Fix documentation to note that /etc/hast.conf is the default configuration 2012-01-24 23:43:13 +00:00
ifconfig Fix warning when compiling with gcc46: 2012-01-10 02:59:18 +00:00
init Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
ipf Use both NO_WFORMAT and NO_WARRAY_BOUNDS for sbin/ipf, it would be too 2011-12-17 00:54:09 +00:00
ipfw Spelling fixes for sbin/ 2012-01-07 16:09:33 +00:00
iscontrol Fix compilation with debug on. 2011-01-25 22:25:16 +00:00
kldconfig
kldload Make flags in usage() and SYNOPSYS more style(9)-ish. 2010-08-30 07:29:27 +00:00
kldstat In printfile(), exit the process instead of only printing the warning. 2010-11-13 16:49:07 +00:00
kldunload
ldconfig
mca sysctlbyname() returns -1 on error and sets errno. It does 2010-07-03 22:02:29 +00:00
md5 - new sentence should start on new line. 2011-11-13 17:07:43 +00:00
mdconfig Replace the beerware license on mdconfig(8) with standard 2-clause BSD. 2012-01-21 11:48:48 +00:00
mdmfs Spelling fixes for sbin/ 2012-01-07 16:09:33 +00:00
mknod Fix some more warnings found by clang. 2010-11-22 20:10:48 +00:00
mksnap_ffs Note that a UFS filesystem can have up to 20 active snapshots. 2011-02-15 07:25:54 +00:00
mount Don't print the nmount(2) provided error message if it is empty. 2012-01-20 12:59:12 +00:00
mount_cd9660 Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_ext2fs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_hpfs mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
mount_msdosfs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_nfs Add a timeout on positive name cache entries in the NFS client. That is, 2012-01-25 20:05:58 +00:00
mount_ntfs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_nullfs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_reiserfs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_std Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_udf Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_unionfs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
natd Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
newfs Fix warning when compiling with gcc46: 2012-01-10 02:59:09 +00:00
newfs_msdos Many style fixes. 2011-12-20 15:50:54 +00:00
nfsiod
nos-tun
pfctl
pflogd Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
ping Small style fixes: 2010-06-20 12:52:33 +00:00
ping6 Fix warning when compiling with gcc46: 2012-01-10 02:59:01 +00:00
quotacheck
rcorder Add more static keywords to rcorder(8). 2011-12-11 20:48:40 +00:00
reboot Spelling fixes for sbin/ 2012-01-07 16:09:33 +00:00
recoverdisk Fix mdoc date from previous commit. 2012-01-06 11:42:03 +00:00
resolvconf Add resolvconf(8) which manages resolv.conf. 2011-03-18 12:18:52 +00:00
restore mdoc: make pages render with mandoc 2010-10-21 12:27:13 +00:00
route Handle the internal scope address representation of the KAME IPv6 2012-01-07 09:01:19 +00:00
routed Fix a style bug 2012-01-13 06:56:59 +00:00
rtsol Add dump.c to the rtsol build. It is needed now that sec2str is non-static 2011-06-08 21:59:07 +00:00
savecore Remove duplicated header files 2011-06-24 07:29:04 +00:00
sconfig
setkey mdoc: fix markup 2011-06-02 09:56:42 +00:00
shutdown Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
spppcontrol
sunlabel mdoc: drop even more redundant .Pp calls 2010-10-19 12:35:40 +00:00
swapon Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
sysctl If the -d flag is specified, ignore any new values specified and only 2011-12-01 15:01:23 +00:00
tunefs Fix warning when compiling with gcc46: 2012-01-10 02:58:52 +00:00
umount Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
Makefile Add resolvconf(8) which manages resolv.conf. 2011-03-18 12:18:52 +00:00
Makefile.amd64 MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.arm MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.i386 MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.ia64 MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.inc
Makefile.mips MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.pc98 MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.sparc64 MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00