- Fix gcc build for superio(4)
- Change string mapping of SUPERIO_DEV_NONE to distinguish from SUPERIO_DEV_MAX Reviewed by: imp Discussed with: avg, imp, jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20880
This commit is contained in:
parent
57f0337a57
commit
6529459a96
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349848
@ -405,7 +405,7 @@ devtype_to_str(superio_dev_type_t type)
|
||||
{
|
||||
switch (type) {
|
||||
case SUPERIO_DEV_NONE:
|
||||
return ("invalid");
|
||||
return ("none");
|
||||
case SUPERIO_DEV_HWM:
|
||||
return ("HWM");
|
||||
case SUPERIO_DEV_WDT:
|
||||
@ -415,6 +415,7 @@ devtype_to_str(superio_dev_type_t type)
|
||||
case SUPERIO_DEV_MAX:
|
||||
return ("invalid");
|
||||
}
|
||||
return ("invalid");
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user