aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1999-05-10 14:01:35 +0000
committerDoug Rabson <dfr@FreeBSD.org>1999-05-10 14:01:35 +0000
commit1d3710bdf3023dbe5da10f5900876f7344ab9e91 (patch)
tree171a4bbde668ec2a54dc94e01c7b385e176ec6ab /sys/dev/sio
parent059af14f8e813ae7b06f0795e30052cb8c520658 (diff)
downloadsrc-1d3710bdf3023dbe5da10f5900876f7344ab9e91.tar.gz
src-1d3710bdf3023dbe5da10f5900876f7344ab9e91.zip
Adjust console stuff now that makedev is no longer a macro.
Notes
Notes: svn path=/head/; revision=46894
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 8b3630baf1b4..20354d394e54 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/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.239 1999/05/09 16:56:38 peter Exp $
+ * $Id: sio.c,v 1.240 1999/05/09 20:35:02 peter Exp $
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* from: i386/isa sio.c,v 1.234
*/
@@ -2862,7 +2862,7 @@ siocnprobe(cp)
struct consdev siocons = {
NULL, NULL, siocngetc, siocncheckc, siocnputc,
- NULL, makedev(CDEV_MAJOR, 0), CN_NORMAL,
+ NULL, 0, CN_NORMAL,
};
extern struct consdev *cn_tab;
@@ -2901,6 +2901,7 @@ siocnattach(port, speed)
siocnopen(&sp, siocniobase, comdefaultrate);
splx(s);
+ siocons.cn_dev = makedev(CDEV_MAJOR, 0);
cn_tab = &siocons;
return 0;
}