]> git.hungrycats.org Git - linux/commit
[PATCH] PCI: name length change
authorKieran Morrissey <kieran@mgpenguin.net>
Thu, 29 Jan 2004 09:12:59 +0000 (01:12 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 29 Jan 2004 09:12:59 +0000 (01:12 -0800)
commit6a1bd1266701eb84c11c5da96ec03fb1c0debc2c
tree394da9ac4a86ef2f5e55a4da448187970beb5f3f
parentb323e1dfd14fa4fed77f9360f16e80f23ed917f3
[PATCH] PCI: name length change

- Changes gen-devlist.c to truncate long device names rather than reject
  the database
- Changes PCI_NAME_SIZE to 96 (and PCI_NAME_HALF to 43) to allow all
  current pci.ids names to fit
- Modifies gen-devlist.c to truncate at 89 characters rather than 79 -
  allows for two digit instance numbers to be added to the name as well
  while staying within the 96 characters allocated. No names in the
  current pci.ids are any longer than this.
- Modifies names.c to no longer limit device name length when displaying
  both vendor and device name; the truncation is done by gen-devlist.c.
drivers/pci/gen-devlist.c
drivers/pci/names.c
include/linux/pci.h