mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-30 08:19:09 +00:00
Decrease logging severity when adding a device or reading config table.
In PR 243056 a user reports some spam from smartpqi(4). In particular, the driver warns about an unrecognized PQI_CONF_TABLE_SECTION_SOFT_RESET section (not yet defined in the driver, but handled in Linux), but this doesn't cause any problems. The Linux driver also does not warn about unrecognized sections. Also do not log a warning when a device is added, since this is routine. Lower severity to DISC, to match pqisrc_remove_device(). PR: 243056 Reviewed by: sbruno MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23023
This commit is contained in:
parent
68faee11e8
commit
958ff217e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356445
@ -1213,7 +1213,7 @@ static int pqisrc_add_device(pqisrc_softstate_t *softs,
|
||||
pqi_scsi_dev_t *device)
|
||||
{
|
||||
DBG_FUNC("IN\n");
|
||||
DBG_WARN("vendor: %s model: %s bus:%d target:%d lun:%d is_physical_device:0x%x expose_device:0x%x volume_offline 0x%x volume_status 0x%x \n",
|
||||
DBG_DISC("vendor: %s model: %s bus:%d target:%d lun:%d is_physical_device:0x%x expose_device:0x%x volume_offline 0x%x volume_status 0x%x \n",
|
||||
device->vendor, device->model, device->bus, device->target, device->lun, device->is_physical_device, device->expose_device, device->volume_offline, device->volume_status);
|
||||
|
||||
device->invalid = false;
|
||||
|
@ -453,7 +453,7 @@ int pqisrc_process_config_table(pqisrc_softstate_t *softs)
|
||||
ret = PQI_STATUS_SUCCESS;
|
||||
break;
|
||||
default:
|
||||
DBG_ERR("unrecognized PQI config table section ID: 0x%x\n",
|
||||
DBG_INFO("unrecognized PQI config table section ID: 0x%x\n",
|
||||
LE_16(section_hdr->section_id));
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user