Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11412
b: refs/heads/master
c: 6248e64
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Garzik committed Oct 30, 2005
1 parent ef4232a commit df1676b
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 0f0d5192696eeb3072944a4a813809cc2c85891a
refs/heads/master: 6248e64721a4f3db9fbedd207206f47835acce44
8 changes: 6 additions & 2 deletions trunk/drivers/scsi/ata_piix.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#include <linux/init.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/device.h>
#include "scsi.h"
#include <scsi/scsi_host.h>
#include <linux/libata.h>
Expand Down Expand Up @@ -625,7 +626,8 @@ static int piix_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
unsigned int pata_chan = 0, sata_chan = 0;

if (!printed_version++)
printk(KERN_DEBUG DRV_NAME " version " DRV_VERSION "\n");
dev_printk(KERN_DEBUG, &pdev->dev,
"version " DRV_VERSION "\n");

/* no hotplugging support (FIXME) */
if (!in_module_init)
Expand Down Expand Up @@ -672,7 +674,9 @@ static int piix_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
port_info[pata_chan] = &piix_port_info[ich5_pata];
n_ports++;

printk(KERN_WARNING DRV_NAME ": combined mode detected\n");
dev_printk(KERN_WARNING, &pdev->dev,
"combined mode detected (p=%u, s=%u)\n",
pata_chan, sata_chan);
}

return ata_pci_init_one(pdev, port_info, n_ports);
Expand Down

0 comments on commit df1676b

Please sign in to comment.