]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
blkdev.h: update location of SCSI device types
authorChristoph Anton Mitterer <mail@christoph.anton.mitterer.name>
Fri, 9 Feb 2024 22:34:25 +0000 (23:34 +0100)
committerChristoph Anton Mitterer <mail@christoph.anton.mitterer.name>
Fri, 9 Feb 2024 22:41:38 +0000 (23:41 +0100)
In Linux commit c5f1ac8b94bd10f97f5aa1a3279ad8e8bbc6311a (“Split SCSI header
files”) these definition where split out into `include/scsi/scsi_proto.h`.

This commit also removes the git link (any kernel sources will do just fine) and
just names the file.

Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
include/blkdev.h

index f2252e7807026623da138903849898013b941f73..efa33af11fada6f761f5b0fd71f6199b70754034 100644 (file)
@@ -131,8 +131,8 @@ int blkdev_is_cdrom(int fd);
 /* get device's geometry - legacy */
 int blkdev_get_geometry(int fd, unsigned int *h, unsigned int *s);
 
-/* SCSI device types.  Copied almost as-is from kernel header.
- * http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/scsi/scsi.h */
+/* SCSI device types.  Copied almost as-is from kernel header
+ * (include/scsi/scsi_proto.h). */
 #define SCSI_TYPE_DISK                 0x00
 #define SCSI_TYPE_TAPE                 0x01
 #define SCSI_TYPE_PRINTER              0x02