summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-05-13 01:15:54 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-05-13 01:15:54 +0000
commit385a3caf2ecaf3de07747290e79fa8d1f7c618b5 (patch)
treed780db673ed87979f4e761beb9fceda2b7594fe4 /sys/dev/ic
parentf30876db80c9d1c4d008da7e477105227561aabc (diff)
remove prototypes with no matching function
ok mpi@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/anvar.h4
-rw-r--r--sys/dev/ic/atw.c6
-rw-r--r--sys/dev/ic/com.c3
-rw-r--r--sys/dev/ic/dc.c3
-rw-r--r--sys/dev/ic/gemvar.h10
-rw-r--r--sys/dev/ic/qwxvar.h4
-rw-r--r--sys/dev/ic/rtl81x9reg.h3
-rw-r--r--sys/dev/ic/rtwvar.h3
-rw-r--r--sys/dev/ic/siopvar.h3
-rw-r--r--sys/dev/ic/smc91cxx.c3
-rw-r--r--sys/dev/ic/trm.c4
11 files changed, 11 insertions, 35 deletions
diff --git a/sys/dev/ic/anvar.h b/sys/dev/ic/anvar.h
index 71e97ac4032..a54a3eb3aee 100644
--- a/sys/dev/ic/anvar.h
+++ b/sys/dev/ic/anvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: anvar.h,v 1.23 2009/10/13 19:33:16 pirofti Exp $ */
+/* $OpenBSD: anvar.h,v 1.24 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: anvar.h,v 1.10 2005/02/27 00:27:00 perry Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -161,8 +161,6 @@ struct an_softc {
int an_attach(struct an_softc *);
int an_detach(struct an_softc *);
-int an_activate(struct device *, int);
-void an_power(int, void *);
int an_intr(void *);
int an_init(struct ifnet *);
void an_stop(struct ifnet *, int);
diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c
index 1013c861b05..a1cb45a2570 100644
--- a/sys/dev/ic/atw.c
+++ b/sys/dev/ic/atw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atw.c,v 1.100 2022/04/21 21:03:02 stsp Exp $ */
+/* $OpenBSD: atw.c,v 1.101 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: atw.c,v 1.69 2004/07/23 07:07:55 dyoung Exp $ */
/*-
@@ -163,10 +163,6 @@ void atw_si4126_print(struct atw_softc *);
#define DPRINTF3(sc, x) /* nothing */
#endif
-#ifdef ATW_STATS
-void atw_print_stats(struct atw_softc *);
-#endif
-
const char *atw_printmac(u_int8_t);
/* ifnet methods */
diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c
index 7d1401e252c..dd45e3c901c 100644
--- a/sys/dev/ic/com.c
+++ b/sys/dev/ic/com.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com.c,v 1.178 2023/09/11 08:41:26 mvs Exp $ */
+/* $OpenBSD: com.c,v 1.179 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */
/*
@@ -94,7 +94,6 @@ static u_char tiocm_xxx2mcr(int);
void compwroff(struct com_softc *);
void cominit(bus_space_tag_t, bus_space_handle_t, int, int);
-int com_is_console(bus_space_tag_t, bus_addr_t);
struct cfdriver com_cd = {
NULL, "com", DV_TTY
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c
index 46fb14693d2..ac61bf773ad 100644
--- a/sys/dev/ic/dc.c
+++ b/sys/dev/ic/dc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dc.c,v 1.156 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: dc.c,v 1.157 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -134,7 +134,6 @@
#endif
int dc_intr(void *);
-struct dc_type *dc_devtype(void *);
int dc_newbuf(struct dc_softc *, int, struct mbuf *);
int dc_encap(struct dc_softc *, bus_dmamap_t, struct mbuf *, u_int32_t *);
diff --git a/sys/dev/ic/gemvar.h b/sys/dev/ic/gemvar.h
index 14c01e89723..e4847c98e55 100644
--- a/sys/dev/ic/gemvar.h
+++ b/sys/dev/ic/gemvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: gemvar.h,v 1.31 2015/11/28 09:42:10 jmatthew Exp $ */
+/* $OpenBSD: gemvar.h,v 1.32 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: gemvar.h,v 1.1 2001/09/16 00:11:43 eeh Exp $ */
/*
@@ -272,15 +272,7 @@ do { \
} while (0)
#ifdef _KERNEL
-void gem_attach(struct gem_softc *, const u_int8_t *);
-int gem_activate(struct device *, int);
-int gem_detach(struct gem_softc *);
int gem_intr(void *);
-int gem_read_srom(struct gem_softc *);
-int gem_srom_crcok(const u_int8_t *);
-int gem_isv_srom(const u_int8_t *);
-int gem_isv_srom_enaddr(struct gem_softc *, u_int8_t *);
-int gem_parse_old_srom(struct gem_softc *, u_int8_t *);
int gem_mediachange(struct ifnet *);
void gem_mediastatus(struct ifnet *, struct ifmediareq *);
diff --git a/sys/dev/ic/qwxvar.h b/sys/dev/ic/qwxvar.h
index 6ee2012ab05..58c0bf6460d 100644
--- a/sys/dev/ic/qwxvar.h
+++ b/sys/dev/ic/qwxvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: qwxvar.h,v 1.24 2024/03/02 15:18:57 stsp Exp $ */
+/* $OpenBSD: qwxvar.h,v 1.25 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2018-2019 The Linux Foundation.
@@ -807,8 +807,6 @@ enum hal_ce_desc {
HAL_CE_DESC_DST_STATUS,
};
-void qwx_ce_byte_swap(void *mem, uint32_t len);
-
struct ce_ie_addr {
uint32_t ie1_reg_addr;
uint32_t ie2_reg_addr;
diff --git a/sys/dev/ic/rtl81x9reg.h b/sys/dev/ic/rtl81x9reg.h
index f8d1b13729a..4ccd7de888f 100644
--- a/sys/dev/ic/rtl81x9reg.h
+++ b/sys/dev/ic/rtl81x9reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9reg.h,v 1.104 2022/06/03 10:38:40 dlg Exp $ */
+/* $OpenBSD: rtl81x9reg.h,v 1.105 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1091,6 +1091,5 @@ struct rl_softc {
extern int rl_attach(struct rl_softc *);
extern int rl_intr(void *);
-extern void rl_setmulti(struct rl_softc *);
int rl_detach(struct rl_softc *);
int rl_activate(struct device *, int);
diff --git a/sys/dev/ic/rtwvar.h b/sys/dev/ic/rtwvar.h
index c2c2a85c2fb..ace3394945c 100644
--- a/sys/dev/ic/rtwvar.h
+++ b/sys/dev/ic/rtwvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtwvar.h,v 1.32 2024/05/12 08:44:09 jsg Exp $ */
+/* $OpenBSD: rtwvar.h,v 1.33 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: rtwvar.h,v 1.10 2004/12/26 22:37:57 mycroft Exp $ */
/*-
@@ -446,7 +446,6 @@ void rtw_disable(struct rtw_softc *);
int rtw_enable(struct rtw_softc *);
int rtw_activate(struct device *, int);
-void rtw_shutdown(void *);
const char *rtw_pwrstate_string(enum rtw_pwrstate);
diff --git a/sys/dev/ic/siopvar.h b/sys/dev/ic/siopvar.h
index f8c7b5802b7..9e607cedd46 100644
--- a/sys/dev/ic/siopvar.h
+++ b/sys/dev/ic/siopvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: siopvar.h,v 1.17 2011/09/23 10:40:06 miod Exp $ */
+/* $OpenBSD: siopvar.h,v 1.18 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: siopvar.h,v 1.22 2005/11/18 23:10:32 bouyer Exp $ */
/*
@@ -137,4 +137,3 @@ struct siop_softc {
void siop_attach(struct siop_softc *);
int siop_intr(void *);
void siop_add_dev(struct siop_softc *, int, int);
-void siop_del_dev(struct siop_softc *, int, int);
diff --git a/sys/dev/ic/smc91cxx.c b/sys/dev/ic/smc91cxx.c
index 814c1e370ba..364a4535b78 100644
--- a/sys/dev/ic/smc91cxx.c
+++ b/sys/dev/ic/smc91cxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smc91cxx.c,v 1.52 2022/08/15 01:59:00 jsg Exp $ */
+/* $OpenBSD: smc91cxx.c,v 1.53 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: smc91cxx.c,v 1.11 1998/08/08 23:51:41 mycroft Exp $ */
/*-
@@ -177,7 +177,6 @@ int smc91cxx_set_media(struct smc91cxx_softc *, uint64_t);
void smc91cxx_read(struct smc91cxx_softc *);
void smc91cxx_reset(struct smc91cxx_softc *);
void smc91cxx_start(struct ifnet *);
-void smc91cxx_resume(struct smc91cxx_softc *);
void smc91cxx_watchdog(struct ifnet *);
int smc91cxx_ioctl(struct ifnet *, u_long, caddr_t);
diff --git a/sys/dev/ic/trm.c b/sys/dev/ic/trm.c
index 6fe0e587423..b2e4ee0f62e 100644
--- a/sys/dev/ic/trm.c
+++ b/sys/dev/ic/trm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trm.c,v 1.44 2022/01/09 05:42:42 jsg Exp $
+/* $OpenBSD: trm.c,v 1.45 2024/05/13 01:15:50 jsg Exp $
* ------------------------------------------------------------
* O.S : OpenBSD
* File Name : trm.c
@@ -61,8 +61,6 @@
/* #define TRM_DEBUG0 */
-void trm_initSRB(struct trm_scsi_req_q *);
-
void trm_check_eeprom(struct trm_adapter_nvram *, bus_space_tag_t, bus_space_handle_t);
void trm_read_all (struct trm_adapter_nvram *, bus_space_tag_t, bus_space_handle_t);
void trm_write_all (struct trm_adapter_nvram *, bus_space_tag_t, bus_space_handle_t);