Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21881
b: refs/heads/master
c: 208a993
h: refs/heads/master
i:
  21879: b760033
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Mar 5, 2006
1 parent 177bcc4 commit 4b54056
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e653a1e6131d0a819288a2e2de654627233604e0
refs/heads/master: 208a9933bc7d71e7ad194a9ffbfbcd7878c48dfe
9 changes: 9 additions & 0 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,15 @@ static int ata_dev_configure(struct ata_port *ap, struct ata_device *dev)

DPRINTK("ENTER, host %u, dev %u\n", ap->id, dev->devno);

/* initialize to-be-configured parameters */
dev->flags = 0;
dev->max_sectors = 0;
dev->cdb_len = 0;
dev->n_sectors = 0;
dev->cylinders = 0;
dev->heads = 0;
dev->sectors = 0;

/*
* common ATA, ATAPI feature tests
*/
Expand Down

0 comments on commit 4b54056

Please sign in to comment.