I7000, B5500: Make sure card reader devices always perform read-only.file opens
This commit is contained in:
parent
0b209d2383
commit
6bfad051a8
3 changed files with 3 additions and 6 deletions
|
@ -31,8 +31,7 @@
|
||||||
#include "sim_defs.h"
|
#include "sim_defs.h"
|
||||||
#include "sim_console.h"
|
#include "sim_console.h"
|
||||||
|
|
||||||
#define UNIT_CDR UNIT_ATTABLE | UNIT_RO | UNIT_DISABLE | UNIT_ROABLE | \
|
#define UNIT_CDR UNIT_ATTABLE | UNIT_RO | UNIT_DISABLE | MODE_029
|
||||||
MODE_029
|
|
||||||
#define UNIT_CDP UNIT_ATTABLE | UNIT_DISABLE | MODE_029
|
#define UNIT_CDP UNIT_ATTABLE | UNIT_DISABLE | MODE_029
|
||||||
#define UNIT_LPR UNIT_ATTABLE | UNIT_DISABLE
|
#define UNIT_LPR UNIT_ATTABLE | UNIT_DISABLE
|
||||||
|
|
||||||
|
|
|
@ -34,8 +34,7 @@
|
||||||
#include "sim_defs.h"
|
#include "sim_defs.h"
|
||||||
#ifdef NUM_DEVS_CDR
|
#ifdef NUM_DEVS_CDR
|
||||||
|
|
||||||
#define UNIT_CDR UNIT_ATTABLE | UNIT_RO | UNIT_DISABLE | \
|
#define UNIT_CDR UNIT_ATTABLE | UNIT_RO | UNIT_DISABLE | MODE_026
|
||||||
UNIT_ROABLE | MODE_026
|
|
||||||
|
|
||||||
/* Flags for punch and reader. */
|
/* Flags for punch and reader. */
|
||||||
#define ATTENA (1 << (UNIT_V_UF+7))
|
#define ATTENA (1 << (UNIT_V_UF+7))
|
||||||
|
|
|
@ -28,8 +28,7 @@
|
||||||
|
|
||||||
#ifdef NUM_DEVS_CDR
|
#ifdef NUM_DEVS_CDR
|
||||||
|
|
||||||
#define UNIT_CDR UNIT_ATTABLE | UNIT_RO | UNIT_DISABLE | UNIT_ROABLE |\
|
#define UNIT_CDR UNIT_ATTABLE | UNIT_RO | UNIT_DISABLE | MODE_026
|
||||||
MODE_026
|
|
||||||
|
|
||||||
|
|
||||||
/* std devices. data structures
|
/* std devices. data structures
|
||||||
|
|
Loading…
Add table
Reference in a new issue