Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/ntp/libparse/parse.c
Show First 20 Lines • Show All 282 Lines • ▼ Show 20 Lines | switch (parseio->parse_ioflags & PARSE_IO_CSIZE) | ||||
ch &= 0x7F; | ch &= 0x7F; | ||||
break; | break; | ||||
case PARSE_IO_CS8: | case PARSE_IO_CS8: | ||||
ch &= (char) 0xFFU; | ch &= (char) 0xFFU; | ||||
break; | break; | ||||
} | } | ||||
parseprintf(DD_PARSE, ("parse_ioread(0x%lx, char=0x%x, ..., ...)\n", (unsigned long)parseio, ch & 0xFF)); | parseprintf(DD_PARSE, ("parse_ioread(0x%p, char=0x%x, ..., ...)\n", (void*)parseio, ch & 0xFF)); | ||||
if (!clockformats[parseio->parse_lformat]->convert) | if (!clockformats[parseio->parse_lformat]->convert) | ||||
{ | { | ||||
parseprintf(DD_PARSE, ("parse_ioread: input dropped.\n")); | parseprintf(DD_PARSE, ("parse_ioread: input dropped.\n")); | ||||
return CVT_NONE; | return CVT_NONE; | ||||
} | } | ||||
if (clockformats[parseio->parse_lformat]->input) | if (clockformats[parseio->parse_lformat]->input) | ||||
▲ Show 20 Lines • Show All 646 Lines • Show Last 20 Lines |