summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-09 20:35:02 +0000
committerpeter <peter@FreeBSD.org>1999-05-09 20:35:02 +0000
commitf8c46053172e38e410f7075227af8e0719ef16cb (patch)
treeb72335d8030c3bceeea46d45649e1c1ff6123270 /sys/isa
parentc1234a50af14b11cf376cc6734b0b74a843ba1aa (diff)
downloadFreeBSD-src-f8c46053172e38e410f7075227af8e0719ef16cb.zip
FreeBSD-src-f8c46053172e38e410f7075227af8e0719ef16cb.tar.gz
Make COM_ESP and COM_MULTIPORT compile for LINT. It might even work..
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/sio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index 2e921bc..8b3630b 100644
--- a/sys/isa/sio.c
+++ b/sys/isa/sio.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: sio.c,v 1.238 1999/05/09 13:10:46 peter Exp $
+ * $Id: sio.c,v 1.239 1999/05/09 16:56:38 peter Exp $
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* from: i386/isa sio.c,v 1.234
*/
@@ -309,8 +309,7 @@ struct com_s {
};
#ifdef COM_ESP
-static int espattach __P((struct isa_device *isdp, struct com_s *com,
- Port_t esp_port));
+static int espattach __P((struct com_s *com, Port_t esp_port));
#endif
static int sioattach __P((device_t dev));
@@ -831,8 +830,7 @@ sioprobe(dev)
#ifdef COM_ESP
static int
-espattach(isdp, com, esp_port)
- struct isa_device *isdp;
+espattach(com, esp_port)
struct com_s *com;
Port_t esp_port;
{
@@ -1029,7 +1027,7 @@ sioattach(dev)
}
#ifdef COM_ESP
for (espp = likely_esp_ports; *espp != 0; espp++)
- if (espattach(dev, com, *espp)) {
+ if (espattach(com, *espp)) {
com->tx_fifo_size = 1024;
break;
}
@@ -1585,6 +1583,8 @@ siointr(arg)
COM_UNLOCK();
#else /* COM_MULTIPORT */
bool_t possibly_more_intrs;
+ int unit;
+ struct com_s *com;
/*
* Loop until there is no activity on any port. This is necessary
OpenPOWER on IntegriCloud