G2INTST_MASK
switch ( adapstat & G2INTST_MASK ) {
if ( (adapstat & G2INTST_MASK) == G2INTST_CCBERROR ) {