Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29009
b: refs/heads/master
c: 2c3e026
h: refs/heads/master
i:
  29007: 6d37c23
v: v3
  • Loading branch information
Roman Zippel authored and Linus Torvalds committed Jun 23, 2006
1 parent 2a91d2a commit 6b2c9e5
Show file tree
Hide file tree
Showing 3 changed files with 3 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: daacf8bc0dd37a6ad3a87d1a667599e15940815e
refs/heads/master: 2c3e0262e0cb5395fe02cdf27c229ee7414ab0c0
1 change: 1 addition & 0 deletions trunk/drivers/ide/ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ void ide_setup_ports ( hw_regs_t *hw,
{
int i;

memset(hw, 0, sizeof(hw_regs_t));
for (i = 0; i < IDE_NR_PORTS; i++) {
if (offsets[i] == -1) {
switch(i) {
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/ide/legacy/q40ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ void q40_ide_setup_ports ( hw_regs_t *hw,
{
int i;

memset(hw, 0, sizeof(hw_regs_t));
for (i = 0; i < IDE_NR_PORTS; i++) {
/* BIG FAT WARNING:
assumption: only DATA port is ever used in 16 bit mode */
Expand Down

0 comments on commit 6b2c9e5

Please sign in to comment.