]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dio: Update DIO_SCMAX comment
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 4 May 2026 12:27:05 +0000 (14:27 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 18 May 2026 09:16:29 +0000 (11:16 +0200)
DIO-II support was added in 2004, update a comment to reflect this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://patch.msgid.link/5aa3901baaa5d145804e1a836dd8ee3fb07ea144.1777897387.git.geert@linux-m68k.org
include/linux/dio.h

index 464331c4c4a7704f0cc7df8b6dbf2d4fd575409c..894e50b917925f696df2be798bb3f1b92ac746fc 100644 (file)
@@ -112,9 +112,7 @@ struct dio_driver {
 #define DIOII_END               0x20000000      /* end of DIO-II space */
 #define DIOII_DEVSIZE           0x00400000      /* size of a DIO-II device */
 
-/* Highest valid select code. If we add DIO-II support this should become
- * 256 for everything except HP320, which only has DIO.
- */
+/* highest valid select code */
 #define DIO_SCMAX (hp300_model == HP_320 ? 32 : 256)
 #define DIOII_SCBASE 132 /* lowest DIO-II select code */
 #define DIO_SCINHOLE(scode) (((scode) >= 32) && ((scode) < DIOII_SCBASE))