Gdc and pckbd driver don't support pnp mode.

This commit is contained in:
Yoshihiro Takahashi 1999-09-14 12:57:40 +00:00
parent e6d3cf2648
commit 35762dce78
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51276
4 changed files with 16 additions and 0 deletions

View File

@ -132,6 +132,10 @@ gdcprobe(device_t dev)
{
gdc_softc_t *sc;
/* Check isapnp ids */
if (isa_get_vendorid(dev))
return (ENXIO);
device_set_desc(dev, "Generic GDC");
sc = device_get_softc(dev);
return gdc_probe_unit(device_get_unit(dev), sc, device_get_flags(dev));

View File

@ -96,6 +96,10 @@ static timeout_t pckbd_timeout;
static int
pckbdprobe(device_t dev)
{
/* Check isapnp ids */
if (isa_get_vendorid(dev))
return (ENXIO);
device_set_desc(dev, "PC-98 Keyboard");
return pckbd_probe_unit(device_get_unit(dev), isa_get_port(dev),

View File

@ -132,6 +132,10 @@ gdcprobe(device_t dev)
{
gdc_softc_t *sc;
/* Check isapnp ids */
if (isa_get_vendorid(dev))
return (ENXIO);
device_set_desc(dev, "Generic GDC");
sc = device_get_softc(dev);
return gdc_probe_unit(device_get_unit(dev), sc, device_get_flags(dev));

View File

@ -96,6 +96,10 @@ static timeout_t pckbd_timeout;
static int
pckbdprobe(device_t dev)
{
/* Check isapnp ids */
if (isa_get_vendorid(dev))
return (ENXIO);
device_set_desc(dev, "PC-98 Keyboard");
return pckbd_probe_unit(device_get_unit(dev), isa_get_port(dev),