+ st_inqbuf.inqbuf.version != 0x02)) /* 0x02 is for HP DAT */
+ &&
+ (st_inqbuf.inqbuf.type != 0x01 || /* M4 ??! */
+ /*
+ * the M4 is a little too smart (ass?) for its own good:
+ * qual codes:
+ * 0x80: you can take the tape out (unit not online)
+ * 0xf8: online and at 6250bpi
+ * 0xf9: online and at 1600bpi
+ */
+ st_inqbuf.inqbuf.version != 0x09)) /* M4 tape */
+{
+printf("st: wrong specs: type %x qual %x version %d\n", st_inqbuf.inqbuf.type,
+st_inqbuf.inqbuf.qual, st_inqbuf.inqbuf.version);