mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
ioat(4): Make channel indices unsigned
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
2712f5b016
commit
df1928aa33
2 changed files with 3 additions and 3 deletions
|
|
@ -152,8 +152,8 @@ MODULE_VERSION(ioat, 1);
|
|||
* Private data structures
|
||||
*/
|
||||
static struct ioat_softc *ioat_channel[IOAT_MAX_CHANNELS];
|
||||
static int ioat_channel_index = 0;
|
||||
SYSCTL_INT(_hw_ioat, OID_AUTO, channels, CTLFLAG_RD, &ioat_channel_index, 0,
|
||||
static unsigned ioat_channel_index = 0;
|
||||
SYSCTL_UINT(_hw_ioat, OID_AUTO, channels, CTLFLAG_RD, &ioat_channel_index, 0,
|
||||
"Number of IOAT channels attached");
|
||||
|
||||
static struct _pcsid
|
||||
|
|
|
|||
|
|
@ -455,7 +455,7 @@ struct ioat_softc {
|
|||
})
|
||||
|
||||
int version;
|
||||
int chan_idx;
|
||||
unsigned chan_idx;
|
||||
|
||||
struct mtx submit_lock;
|
||||
device_t device;
|
||||
|
|
|
|||
Loading…
Reference in a new issue