summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-03-28 19:59:48 +0000
committermillert <millert@openbsd.org>2001-03-28 19:59:48 +0000
commited22eac3828a4a0799e79cfe2fb2328bd2c8e57c (patch)
tree02e0ca8969c2dac64fb8e8788b1f61f847d59c02
parentstart to sync scp closer to rcp; ok markus@ (diff)
downloadwireguard-openbsd-ed22eac3828a4a0799e79cfe2fb2328bd2c8e57c.tar.xz
wireguard-openbsd-ed22eac3828a4a0799e79cfe2fb2328bd2c8e57c.zip
Move code to set sc_frequency out of #ifdef notyet since we now need it.
From deraadt@
-rw-r--r--sys/dev/pcmcia/com_pcmcia.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pcmcia/com_pcmcia.c b/sys/dev/pcmcia/com_pcmcia.c
index a2928e0fec4..97ef8236a7f 100644
--- a/sys/dev/pcmcia/com_pcmcia.c
+++ b/sys/dev/pcmcia/com_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_pcmcia.c,v 1.27 2000/12/16 21:47:48 mickey Exp $ */
+/* $OpenBSD: com_pcmcia.c,v 1.28 2001/03/28 19:59:48 millert Exp $ */
/* $NetBSD: com_pcmcia.c,v 1.15 1998/08/22 17:47:58 msaitoh Exp $ */
/*
@@ -332,10 +332,9 @@ found:
sc->sc_iobase = -1;
sc->enable = com_pcmcia_enable;
sc->disable = com_pcmcia_disable;
-
-#ifdef notyet
sc->sc_frequency = COM_FREQ;
+#ifdef notyet
com_attach_subr(sc);
#endif
/* establish the interrupt. */