/* $NetBSD: scheck.c,v 1.6 1997/09/05 02:11:58 jtc Exp $ */ #include #ifndef lint #ifndef NOID #if 0 static char elsieid[] = "@(#)scheck.c 8.15"; #else __RCSID("$NetBSD: scheck.c,v 1.6 1997/09/05 02:11:58 jtc Exp $"); #endif #endif /* !defined lint */ #endif /* !defined NOID */ /*LINTLIBRARY*/ #include "private.h" char * scheck(string, format) const char * const string; const char * const format; { register char * fbuf; register const char * fp; register char * tp; register int c; register char * result; char dummy; static char nada; result = &nada; if (string == NULL || format == NULL) return result; fbuf = imalloc((int) (2 * strlen(format) + 4)); if (fbuf == NULL) return result; fp = format; tp = fbuf; while ((*tp++ = c = *fp++) != '\0') { if (c != '%') continue; if (*fp == '%') { *tp++ = *fp++; continue; } *tp++ = '*'; if (*fp == '*') ++fp; while (is_digit(*fp)) *tp++ = *fp++; if (*fp == 'l' || *fp == 'h') *tp++ = *fp++; else if (*fp == '[') do *tp++ = *fp++; while (*fp != '\0' && *fp != ']'); if ((*tp++ = *fp++) == '\0') break; } *(tp - 1) = '%'; *tp++ = 'c'; *tp = '\0'; if (sscanf(string, fbuf, &dummy) != 1) result = (char *) format; ifree(fbuf); return result; } d=4b9f981740ff7d068cb94de08b676fa397d9162b'>refslogtreecommitdiff
path: root/sys/dev/microcode/isp/asm_2300.h
AgeCommit message (Expand)Author
2009-05-07update firmwaremjacob
2008-03-11Checkpoint of some fairly major isp(4) rototilling.mjacob
2007-05-24Major update to isp(4) driver to bring it in line with external sources.mjacob
2005-12-11merge ktrace-lwp.christos
2005-02-27nuke trailing whitespaceperry
2004-01-21Updated firmware from QLogic via Matt Jacob (from his Jan 14 distribution).briggs
2003-02-09Roll to latest f/w. Supposed to correct some nasty f/w bugs.mjacob
2002-10-18Update to the latest Fibre Channel f/w from the QLogic intranet site.mjacob
2002-02-19Update 2300 firmware to latest release level.mjacob
2001-08-31Ulp! Open Wide! Another Firmware Enchilada!mjacob