Fix a spacing error from the previous commit for -ll mode. Add a little
more space padding to that mode to give the columns a consistent offset.
This commit is contained in:
parent
a6eb07a961
commit
92471f7ab7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356762
@ -261,12 +261,13 @@ list_devs(const char *name, int verbose, int bars, int bridge, int caps,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (listmode == 2)
|
if (listmode == 2)
|
||||||
printf("drv\tselector\tclass rev hdr vendor device "
|
printf("drv\tselector\tclass rev hdr "
|
||||||
"subven subdev\n");
|
"vendor device subven subdev\n");
|
||||||
for (p = conf; p < &conf[pc.num_matches]; p++) {
|
for (p = conf; p < &conf[pc.num_matches]; p++) {
|
||||||
if (listmode == 2)
|
if (listmode == 2)
|
||||||
printf("%s%d@pci%d:%d:%d:%d:"
|
printf("%s%d@pci%d:%d:%d:%d:"
|
||||||
"\t%06x %02x %02x %04x %04x %04x %04x\n",
|
"\t%06x %02x %02x "
|
||||||
|
"%04x %04x %04x %04x\n",
|
||||||
*p->pd_name ? p->pd_name : "none",
|
*p->pd_name ? p->pd_name : "none",
|
||||||
*p->pd_name ? (int)p->pd_unit :
|
*p->pd_name ? (int)p->pd_unit :
|
||||||
none_count++, p->pc_sel.pc_domain,
|
none_count++, p->pc_sel.pc_domain,
|
||||||
|
Loading…
Reference in New Issue
Block a user