Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/pci Reading the table of allowed channels and ...



details:   https://anonhg.NetBSD.org/src-all/rev/a9218a75abc5
branches:  trunk
changeset: 365116:a9218a75abc5
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Tue Mar 08 04:55:02 2022 +1100

description:
Reading the table of allowed channels and radio swictch status
is currently disabled.

diffstat:

 sys/dev/pci/if_ipw.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r fc535589b7e8 -r a9218a75abc5 sys/dev/pci/if_ipw.c
--- a/sys/dev/pci/if_ipw.c      Tue Mar 08 04:40:05 2022 +1100
+++ b/sys/dev/pci/if_ipw.c      Tue Mar 08 04:55:02 2022 +1100
@@ -128,7 +128,9 @@
 static int     ipw_config(struct ipw_softc *);
 static int     ipw_init(struct ipw_softc *);
 static void    ipw_stop(struct ipw_softc *, int);
+#if 0
 static uint32_t        ipw_read_table1(struct ipw_softc *, uint32_t);
+#endif
 static void    ipw_write_table1(struct ipw_softc *, uint32_t, uint32_t);
 static int     ipw_read_table2(struct ipw_softc *, uint32_t, void *, uint32_t *);
 static void    ipw_read_mem_1(struct ipw_softc *, bus_size_t, uint8_t *,
@@ -1830,13 +1832,13 @@
        return error;
 #undef IS_RUNNING
 }
-#endif
 
 static uint32_t
 ipw_read_table1(struct ipw_softc *sc, uint32_t off)
 {
        return MEM_READ_4(sc, MEM_READ_4(sc, sc->table1_base + off));
 }
+#endif
 
 static void
 ipw_write_table1(struct ipw_softc *sc, uint32_t off, uint32_t info)



Home | Main Index | Thread Index | Old Index