1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Support RSA-98III PnP mode.

This commit is contained in:
Yoshihiro Takahashi 1999-11-03 09:13:16 +00:00
parent 53a70a424e
commit 75c0f11718
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52832
2 changed files with 22 additions and 0 deletions

View File

@ -944,6 +944,9 @@ static struct isa_pnp_id sio_ids[] = {
{0x31307256, NULL}, /* USR3031 */
{0x8020b04e, NULL}, /* SUP2080 */
{0x8024b04e, NULL}, /* SUP2480 */
#ifdef PC98
{0x0100e4a5, "RSA-98III"},
#endif
{0}
};
@ -951,9 +954,17 @@ static int
sio_isa_probe(dev)
device_t dev;
{
#ifdef PC98
int logical_id;
#endif
/* Check isapnp ids */
if (ISA_PNP_PROBE(device_get_parent(dev), dev, sio_ids) == ENXIO)
return (ENXIO);
#ifdef PC98
logical_id = isa_get_logicalid(dev);
if (logical_id == 0x0100e4a5) /* RSA-98III */
device_set_flags(dev, COM_IF_RSA98III << 24);
#endif
return (sioprobe(dev));
}

View File

@ -944,6 +944,9 @@ static struct isa_pnp_id sio_ids[] = {
{0x31307256, NULL}, /* USR3031 */
{0x8020b04e, NULL}, /* SUP2080 */
{0x8024b04e, NULL}, /* SUP2480 */
#ifdef PC98
{0x0100e4a5, "RSA-98III"},
#endif
{0}
};
@ -951,9 +954,17 @@ static int
sio_isa_probe(dev)
device_t dev;
{
#ifdef PC98
int logical_id;
#endif
/* Check isapnp ids */
if (ISA_PNP_PROBE(device_get_parent(dev), dev, sio_ids) == ENXIO)
return (ENXIO);
#ifdef PC98
logical_id = isa_get_logicalid(dev);
if (logical_id == 0x0100e4a5) /* RSA-98III */
device_set_flags(dev, COM_IF_RSA98III << 24);
#endif
return (sioprobe(dev));
}