summaryrefslogtreecommitdiffstats
path: root/sys/dev/cy
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-04 13:25:33 +0000
committerbde <bde@FreeBSD.org>1995-11-04 13:25:33 +0000
commit336a6f070b228b59f25b26ea4de3ac0ff1c7160f (patch)
tree6f35ae0e7caade790223565873d04a0f034c5822 /sys/dev/cy
parent246c28b0f93b97b2c3c8dd1984ec68e01343a509 (diff)
downloadFreeBSD-src-336a6f070b228b59f25b26ea4de3ac0ff1c7160f.zip
FreeBSD-src-336a6f070b228b59f25b26ea4de3ac0ff1c7160f.tar.gz
Moved prototypes for devswitch functions from conf.c and driver sources
to <machine/conf.h>. conf.h was mechanically generated by `grep ^d_ conf.c >conf.h'. This accounts for part of its ugliness. The prototypes should be moved back to the driver sources when the functions are staticalized.
Diffstat (limited to 'sys/dev/cy')
-rw-r--r--sys/dev/cy/cy.c12
-rw-r--r--sys/dev/cy/cy_isa.c12
2 files changed, 2 insertions, 22 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index 0ac16d6..786ae30 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: cy.c,v 1.15 1995/10/11 02:41:13 davidg Exp $
+ * $Id: cy.c,v 1.16 1995/10/22 15:38:08 bde Exp $
*/
#include "cy.h"
@@ -330,17 +330,7 @@ void siointrts __P((int unit));
void siopoll __P((void));
/* Device switch entry points. */
-int sioopen __P((dev_t dev, int oflags, int devtype,
- struct proc *p));
-int sioclose __P((dev_t dev, int fflag, int devtype,
- struct proc *p));
-int sioread __P((dev_t dev, struct uio *uio, int ioflag));
-int siowrite __P((dev_t dev, struct uio *uio, int ioflag));
-int sioioctl __P((dev_t dev, int cmd, caddr_t data,
- int fflag, struct proc *p));
-void siostop __P((struct tty *tp, int rw));
#define sioreset noreset
-struct tty *siodevtotty __P((dev_t dev));
#define siommap nommap
#define siostrategy nostrategy
diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c
index 0ac16d6..786ae30 100644
--- a/sys/dev/cy/cy_isa.c
+++ b/sys/dev/cy/cy_isa.c
@@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: cy.c,v 1.15 1995/10/11 02:41:13 davidg Exp $
+ * $Id: cy.c,v 1.16 1995/10/22 15:38:08 bde Exp $
*/
#include "cy.h"
@@ -330,17 +330,7 @@ void siointrts __P((int unit));
void siopoll __P((void));
/* Device switch entry points. */
-int sioopen __P((dev_t dev, int oflags, int devtype,
- struct proc *p));
-int sioclose __P((dev_t dev, int fflag, int devtype,
- struct proc *p));
-int sioread __P((dev_t dev, struct uio *uio, int ioflag));
-int siowrite __P((dev_t dev, struct uio *uio, int ioflag));
-int sioioctl __P((dev_t dev, int cmd, caddr_t data,
- int fflag, struct proc *p));
-void siostop __P((struct tty *tp, int rw));
#define sioreset noreset
-struct tty *siodevtotty __P((dev_t dev));
#define siommap nommap
#define siostrategy nostrategy
OpenPOWER on IntegriCloud