diff options
author | bde <bde@FreeBSD.org> | 2000-01-09 17:13:35 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2000-01-09 17:13:35 +0000 |
commit | 9892c940980bfd15bf19635d6d94825831e9391b (patch) | |
tree | 2581023f7c85b10cd334cf440b63d11f13d70194 /sys/isa | |
parent | 276f7e139855207cda12e65b77f83f83368b4b73 (diff) | |
download | FreeBSD-src-9892c940980bfd15bf19635d6d94825831e9391b.zip FreeBSD-src-9892c940980bfd15bf19635d6d94825831e9391b.tar.gz |
Removed some more vestiges of ft.
Fixed some style bugs.
Diffstat (limited to 'sys/isa')
-rw-r--r-- | sys/isa/fdc.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/isa/fdc.h b/sys/isa/fdc.h index 11bfee4..39bcc90 100644 --- a/sys/isa/fdc.h +++ b/sys/isa/fdc.h @@ -50,13 +50,10 @@ struct fdc_data int dmachan; int flags; #define FDC_ATTACHED 0x01 -#define FDC_HASFTAPE 0x02 -#define FDC_TAPE_BUSY 0x04 #define FDC_STAT_VALID 0x08 #define FDC_HAS_FIFO 0x10 #define FDC_NEEDS_RESET 0x20 #define FDC_NODMA 0x40 -#define FDC_UNLOADED 0x80 struct fd_data *fd; int fdu; /* the active drive */ int state; @@ -94,8 +91,8 @@ typedef struct fd_data *fd_p; typedef struct fdc_data *fdc_p; typedef enum fdc_type fdc_t; -#define FDUNIT(s) (((s)>>6)&03) -#define FDTYPE(s) ((s)&077) +#define FDUNIT(s) (((s) >> 6) & 3) +#define FDTYPE(s) ((s) & 0x3f) /* * fdc maintains a set (1!) of ivars per child of each controller. |