File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1353,7 +1353,7 @@ void iwmFuji::setup()
13531353 theCPM = new iwmCPM ();
13541354 SYSTEM_BUS.addDevice (theCPM, iwm_fujinet_type_t ::CPM);
13551355
1356- for (int i = MAX_SP_DEVICES - 1 ; i >= 0 ; i--)
1356+ for (int i = MAX_SPDISK_DEVICES - 1 ; i >= 0 ; i--)
13571357 {
13581358 DEVICE_TYPE *disk_dev = get_disk_dev (i);
13591359 disk_dev->set_disk_number (' 0' + i);
Original file line number Diff line number Diff line change @@ -210,9 +210,9 @@ class iwmFuji : public iwmDevice
210210 fujiHost *set_slot_hostname (int host_slot, char *hostname);
211211 DEVICE_TYPE *get_disk_dev (int i) {
212212#ifndef DEV_RELAY_SLIP
213- return i < MAX_SP_DEVICES
213+ return i < MAX_SPDISK_DEVICES
214214 ? (DEVICE_TYPE *) &_fnDisks[i].disk_dev
215- : (DEVICE_TYPE *) &_fnDisk2s[i - MAX_SP_DEVICES ];
215+ : (DEVICE_TYPE *) &_fnDisk2s[i - MAX_SPDISK_DEVICES ];
216216#else
217217 return &_fnDisks[i].disk_dev ;
218218#endif
You can’t perform that action at this time.
0 commit comments