Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22571
b: refs/heads/master
c: 719396b
h: refs/heads/master
i:
  22569: 6ebbfae
  22567: 70176f1
v: v3
  • Loading branch information
Jamie Wellnitz authored and James Bottomley committed Mar 6, 2006
1 parent 1cb0b0b commit 8b0e19b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 74b72a59b8d42d31aa6ffac8f10ca7a784be392c
refs/heads/master: 719396b48ce6310ab43d7432b6d7f2a330a831b3
6 changes: 4 additions & 2 deletions trunk/drivers/scsi/lpfc/lpfc_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -796,16 +796,18 @@ lpfc_get_hba_model_desc(struct lpfc_hba * phba, uint8_t * mdp, uint8_t * descp)
lpfc_vpd_t *vp;
uint16_t dev_id = phba->pcidev->device;
uint16_t dev_subid = phba->pcidev->subsystem_device;
uint8_t hdrtype = phba->pcidev->hdr_type;
uint8_t hdrtype;
int max_speed;
char * ports = (hdrtype == 0x80) ? "2-port " : "";
char * ports;
struct {
char * name;
int max_speed;
char * ports;
char * bus;
} m;

pci_read_config_byte(phba->pcidev, PCI_HEADER_TYPE, &hdrtype);
ports = (hdrtype == 0x80) ? "2-port " : "";
if (mdp && mdp[0] != '\0'
&& descp && descp[0] != '\0')
return;
Expand Down

0 comments on commit 8b0e19b

Please sign in to comment.