| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: rdvar.h,v 1.26 2021/07/09 17:05:33 tsutsui Exp $ */ | | 1 | /* $NetBSD: rdvar.h,v 1.27 2022/11/23 18:55:06 tsutsui Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (c) 1988 University of Utah. | | 4 | * Copyright (c) 1988 University of Utah. |
5 | * Copyright (c) 1982, 1990, 1993 | | 5 | * Copyright (c) 1982, 1990, 1993 |
6 | * The Regents of the University of California. All rights reserved. | | 6 | * The Regents of the University of California. All rights reserved. |
7 | * | | 7 | * |
8 | * This code is derived from software contributed to Berkeley by | | 8 | * This code is derived from software contributed to Berkeley by |
9 | * the Systems Programming Group of the University of Utah Computer | | 9 | * the Systems Programming Group of the University of Utah Computer |
10 | * Science Department. | | 10 | * Science Department. |
11 | * | | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | | 12 | * Redistribution and use in source and binary forms, with or without |
13 | * modification, are permitted provided that the following conditions | | 13 | * modification, are permitted provided that the following conditions |
14 | * are met: | | 14 | * are met: |
| @@ -62,29 +62,26 @@ struct rd_softc { | | | @@ -62,29 +62,26 @@ struct rd_softc { |
62 | device_t sc_dev; | | 62 | device_t sc_dev; |
63 | struct disk sc_dkdev; | | 63 | struct disk sc_dkdev; |
64 | struct callout sc_restart_ch; | | 64 | struct callout sc_restart_ch; |
65 | int sc_slave; /* HP-IB slave */ | | 65 | int sc_slave; /* HP-IB slave */ |
66 | int sc_punit; /* physical unit on slave */ | | 66 | int sc_punit; /* physical unit on slave */ |
67 | int sc_flags; | | 67 | int sc_flags; |
68 | short sc_type; | | 68 | short sc_type; |
69 | char *sc_addr; | | 69 | char *sc_addr; |
70 | int sc_resid; | | 70 | int sc_resid; |
71 | struct hpibqueue sc_hq; /* hpib job queue entry */ | | 71 | struct hpibqueue sc_hq; /* hpib job queue entry */ |
72 | struct rd_iocmd sc_ioc; | | 72 | struct rd_iocmd sc_ioc; |
73 | struct rd_rscmd sc_rsc; | | 73 | struct rd_rscmd sc_rsc; |
74 | struct rd_stat sc_stat; | | 74 | struct rd_stat sc_stat; |
75 | struct rd_ssmcmd sc_ssmc; | | | |
76 | struct rd_srcmd sc_src; | | | |
77 | struct rd_clearcmd sc_clear; | | | |
78 | struct bufq_state *sc_tab; | | 75 | struct bufq_state *sc_tab; |
79 | int sc_active; | | 76 | int sc_active; |
80 | int sc_errcnt; | | 77 | int sc_errcnt; |
81 | struct rdstats sc_stats; | | 78 | struct rdstats sc_stats; |
82 | krndsource_t rnd_source; | | 79 | krndsource_t rnd_source; |
83 | }; | | 80 | }; |
84 | | | 81 | |
85 | /* sc_flags values */ | | 82 | /* sc_flags values */ |
86 | #define RDF_ALIVE 0x01 | | 83 | #define RDF_ALIVE 0x01 |
87 | #define RDF_SEEK 0x02 | | 84 | #define RDF_SEEK 0x02 |
88 | #define RDF_SWAIT 0x04 | | 85 | #define RDF_SWAIT 0x04 |
89 | #define RDF_OPENING 0x08 | | 86 | #define RDF_OPENING 0x08 |
90 | #define RDF_CLOSING 0x10 | | 87 | #define RDF_CLOSING 0x10 |