mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
duh, i forgot to change a bitmask, sorry alexander
Submitted by: Alexander Matey <matey@cis.ohio-state.edu>
This commit is contained in:
parent
3daa19c0bb
commit
a618cffeb8
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ nomenclature:
|
|||
*/
|
||||
|
||||
#define PCMMINOR(x) (minor(x))
|
||||
#define PCMCHAN(x) ((PCMMINOR(x) & 0x0000ff00) >> 16)
|
||||
#define PCMCHAN(x) ((PCMMINOR(x) & 0x00ff0000) >> 16)
|
||||
#define PCMUNIT(x) ((PCMMINOR(x) & 0x000000f0) >> 4)
|
||||
#define PCMDEV(x) (PCMMINOR(x) & 0x0000000f)
|
||||
#define PCMMKMINOR(u, d, c) ((((c) & 0xff) << 16) | (((u) & 0x0f) << 4) | ((d) & 0x0f))
|
||||
|
|
|
|||
Loading…
Reference in a new issue