Home
last modified time | relevance | path

Searched refs:dev_minor (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/char/ftape/zftape/
Dzftape-ctl.h54 extern int _zft_open(unsigned int dev_minor, unsigned int access_mode);
Dzftape-ctl.c700 int _zft_open(unsigned int dev_minor, unsigned int access_mode) in _zft_open() argument
707 if ((int)dev_minor == -1) { in _zft_open()
713 tape_unit = dev_minor; in _zft_open()
715 if ((result = ftape_enable(FTAPE_SEL(dev_minor))) < 0) { in _zft_open()
720 (FTAPE_SEL(zft_unit) != FTAPE_SEL(dev_minor)) || in _zft_open()
721 (zft_unit & ZFT_RAW_MODE) != (dev_minor & ZFT_RAW_MODE)) { in _zft_open()
726 zft_unit = dev_minor; in _zft_open()