Gdc and pckbd driver don't support pnp mode.
This commit is contained in:
parent
e6d3cf2648
commit
35762dce78
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51276
@ -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));
|
||||
|
@ -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),
|
||||
|
@ -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));
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user