Changeset View
Changeset View
Standalone View
Standalone View
stable/11/sys/dev/si/si.c
Show First 20 Lines • Show All 598 Lines • ▼ Show 20 Lines | try_next2: | ||||
} | } | ||||
modp = (struct si_module *) | modp = (struct si_module *) | ||||
(maddr + (unsigned)(modp->sm_next & 0x7fff)); | (maddr + (unsigned)(modp->sm_next & 0x7fff)); | ||||
} | } | ||||
if (unit == 0) | if (unit == 0) | ||||
make_dev(&si_Scdevsw, 0, UID_ROOT, GID_WHEEL, 0600, | make_dev(&si_Scdevsw, 0, UID_ROOT, GID_WHEEL, 0600, | ||||
"si_control"); | "si_control"); | ||||
device_printf(dev, | |||||
"WARNING: This driver is deprecated and will be removed.\n"); | |||||
return (0); | return (0); | ||||
} | } | ||||
static int | static int | ||||
siopen(struct tty *tp) | siopen(struct tty *tp) | ||||
{ | { | ||||
DPRINT((0, DBG_ENTRY|DBG_OPEN, "siopen()\n")); | DPRINT((0, DBG_ENTRY|DBG_OPEN, "siopen()\n")); | ||||
▲ Show 20 Lines • Show All 1,035 Lines • Show Last 20 Lines |