mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
dio: Update DIO_SCMAX comment
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
This commit is contained in:
parent
334cad0401
commit
e321561b91
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user