Repository navigation
Commit a06f210
brcmsmac: read PCI vendor and device id only for PCI devices
If brcmsmac is used on non PCI(s) devices it should not try to access
bus->host_pci.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>1 parent 00bcda4 commit a06f210
1 file changed
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4434 | 4434 | | |
4435 | 4435 | | |
4436 | 4436 | | |
4437 | | - | |
4438 | | - | |
4439 | | - | |
| 4437 | + | |
| 4438 | + | |
| 4439 | + | |
| 4440 | + | |
| 4441 | + | |
| 4442 | + | |
| 4443 | + | |
| 4444 | + | |
4440 | 4445 | | |
4441 | 4446 | | |
4442 | 4447 | | |
| |||
4462 | 4467 | | |
4463 | 4468 | | |
4464 | 4469 | | |
4465 | | - | |
| 4470 | + | |
| 4471 | + | |
4466 | 4472 | | |
4467 | 4473 | | |
4468 | 4474 | | |
4469 | 4475 | | |
4470 | 4476 | | |
4471 | 4477 | | |
4472 | 4478 | | |
4473 | | - | |
4474 | | - | |
| 4479 | + | |
| 4480 | + | |
| 4481 | + | |
| 4482 | + | |
| 4483 | + | |
| 4484 | + | |
| 4485 | + | |
4475 | 4486 | | |
4476 | 4487 | | |
4477 | 4488 | | |
| |||
0 commit comments