Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328826
b: refs/heads/master
c: 6ed33a4
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Mahoney authored and James Bottomley committed Sep 14, 2012
1 parent fb0613b commit 29a7a5c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 26898afd67dfd707aa291648ca731063c8333c7f
refs/heads/master: 6ed33a4a0b86da42638b5f6a0bb9f9f9aee89f60
6 changes: 2 additions & 4 deletions trunk/Documentation/scsi/st.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,8 @@ attempted).

MINOR NUMBERS

The tape driver currently supports 128 drives by default. This number
can be increased by editing st.h and recompiling the driver if
necessary. The upper limit is 2^17 drives if 4 modes for each drive
are used.
The tape driver currently supports up to 2^17 drives if 4 modes for
each drive are used.

The minor numbers consist of the following bit fields:

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/st.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ struct st_modedef {
#define ST_MODE_SHIFT (7 - ST_NBR_MODE_BITS)
#define ST_MODE_MASK ((ST_NBR_MODES - 1) << ST_MODE_SHIFT)

#define ST_MAX_TAPES 128
#define ST_MAX_TAPES (1 << (20 - (ST_NBR_MODE_BITS + 1)))
#define ST_MAX_TAPE_ENTRIES (ST_MAX_TAPES << (ST_NBR_MODE_BITS + 1))

/* The status related to each partition */
Expand Down

0 comments on commit 29a7a5c

Please sign in to comment.