set siocnunit to the correct value. This fixes the freeze on boot for
alphas. Submitted by: Bernd Walter <ticso@cicely5.cicely.de>
This commit is contained in:
parent
0a84e7c8f7
commit
befd9c61ce
@ -3037,11 +3037,13 @@ siocnattach(port, speed)
|
||||
u_char cfcr;
|
||||
u_int divisor;
|
||||
struct siocnstate sp;
|
||||
int unit = 0; /* XXX random value! */
|
||||
|
||||
siocniobase = port;
|
||||
siocnunit = unit;
|
||||
comdefaultrate = speed;
|
||||
sio_consdev.cn_pri = CN_NORMAL;
|
||||
sio_consdev.cn_dev = makedev(CDEV_MAJOR, 0);
|
||||
sio_consdev.cn_dev = makedev(CDEV_MAJOR, unit);
|
||||
|
||||
s = spltty();
|
||||
|
||||
@ -3077,7 +3079,7 @@ siogdbattach(port, speed)
|
||||
u_char cfcr;
|
||||
u_int divisor;
|
||||
struct siocnstate sp;
|
||||
int unit = 1; /* XXX !!! */
|
||||
int unit = 1; /* XXX random value! */
|
||||
|
||||
siogdbiobase = port;
|
||||
gdbdefaultrate = speed;
|
||||
|
Loading…
x
Reference in New Issue
Block a user