summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2022-03-29 17:37:28 -0500
committerRichard Lowe <richlowe@richlowe.net>2022-04-02 14:24:24 -0500
commit07a53f3dc8bc5e4d64bde9b92063de65f06dcf19 (patch)
treefa9ac93bba0a4aa1f32d0bc5103e8e736b37ff52
parent5103e761e384621c5728a6d1f4b0bfdc1be233a4 (diff)
downloadillumos-joyent-07a53f3dc8bc5e4d64bde9b92063de65f06dcf19.tar.gz
14604 bios enumerated serial should use 1275 compatible names
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
-rw-r--r--usr/src/uts/i86pc/io/isa.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr/src/uts/i86pc/io/isa.c b/usr/src/uts/i86pc/io/isa.c
index c8888dded4..2eea45ebe5 100644
--- a/usr/src/uts/i86pc/io/isa.c
+++ b/usr/src/uts/i86pc/io/isa.c
@@ -684,7 +684,7 @@ is_pnpisa(dev_info_t *dip)
/*ARGSUSED*/
static int
isa_ctlops(dev_info_t *dip, dev_info_t *rdip,
- ddi_ctl_enum_t ctlop, void *arg, void *result)
+ ddi_ctl_enum_t ctlop, void *arg, void *result)
{
int rn;
struct ddi_parent_private_data *pdp;
@@ -1245,7 +1245,7 @@ isa_enumerate(int reprogram)
ndi_devi_alloc_sleep(isa_dip, "asy",
(pnode_t)DEVI_SID_NODEID, &xdip);
(void) ndi_prop_update_string(DDI_DEV_T_NONE, xdip,
- "compatible", "PNP0500");
+ "compatible", "pnpPNP,500");
/* This should be gotten from master file: */
(void) ndi_prop_update_string(DDI_DEV_T_NONE, xdip,
"model", "Standard PC COM port");
@@ -1281,7 +1281,6 @@ isa_enumerate(int reprogram)
* the serial ports there are in the dev_info tree. If any are missing,
* this function will add them.
*/
-
static void
enumerate_BIOS_serial(dev_info_t *isa_dip)
{
@@ -1346,7 +1345,7 @@ enumerate_BIOS_serial(dev_info_t *isa_dip)
ndi_devi_alloc_sleep(isa_dip, "asy",
(pnode_t)DEVI_SID_NODEID, &xdip);
(void) ndi_prop_update_string(DDI_DEV_T_NONE, xdip,
- "compatible", "PNP0500");
+ "compatible", "pnpPNP,500");
/* This should be gotten from master file: */
(void) ndi_prop_update_string(DDI_DEV_T_NONE, xdip,
"model", "Standard PC COM port");