summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2003-12-26 03:06:11 +0000
committerbde <bde@FreeBSD.org>2003-12-26 03:06:11 +0000
commiteb31f8e4f71b09d33d9260ca04ecff7854a53035 (patch)
treec73a24a4056db1b704de4968b247fb74b9486880 /sys/pc98
parentb301326ce2682e283ad1c8fe3f142fbf8facab71 (diff)
downloadFreeBSD-src-eb31f8e4f71b09d33d9260ca04ecff7854a53035.zip
FreeBSD-src-eb31f8e4f71b09d33d9260ca04ecff7854a53035.tar.gz
Merged from sys/dev/sio/sio.c revision 1.417.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/sio.c4
-rw-r--r--sys/pc98/pc98/sio.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c
index b2f3619..a9d1879 100644
--- a/sys/pc98/cbus/sio.c
+++ b/sys/pc98/cbus/sio.c
@@ -1691,7 +1691,7 @@ sioattach(dev, xrid, rclk)
com->tx_fifo_size = 1024;
break;
}
- if (com->esp != NULL)
+ if (com->esp)
break;
#endif
#ifdef PC98
@@ -1719,7 +1719,7 @@ sioattach(dev, xrid, rclk)
#endif
#ifdef COM_ESP
- if (com->esp != NULL) {
+ if (com->esp) {
/*
* Set 16550 compatibility mode.
* We don't use the ESP_MODE_SCALE bit to increase the
diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c
index b2f3619..a9d1879 100644
--- a/sys/pc98/pc98/sio.c
+++ b/sys/pc98/pc98/sio.c
@@ -1691,7 +1691,7 @@ sioattach(dev, xrid, rclk)
com->tx_fifo_size = 1024;
break;
}
- if (com->esp != NULL)
+ if (com->esp)
break;
#endif
#ifdef PC98
@@ -1719,7 +1719,7 @@ sioattach(dev, xrid, rclk)
#endif
#ifdef COM_ESP
- if (com->esp != NULL) {
+ if (com->esp) {
/*
* Set 16550 compatibility mode.
* We don't use the ESP_MODE_SCALE bit to increase the
OpenPOWER on IntegriCloud