Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3732
b: refs/heads/master
c: 6efd936
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Jun 28, 2005
1 parent 0162e19 commit ec19837
Show file tree
Hide file tree
Showing 10 changed files with 1,416 additions and 963 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: c903e41e67046e7f52bbc404bd5aa654d12540cc
refs/heads/master: 6efd936046b123303ace4330fd2f26195ad7b1c4
4 changes: 4 additions & 0 deletions trunk/drivers/ide/ide-disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ static int lba_capacity_is_ok (struct hd_driveid *id)
{
unsigned long lba_sects, chs_sects, head, tail;

/* No non-LBA info .. so valid! */
if (id->cyls == 0)
return 1;

/*
* The ATA spec tells large drives to return
* C/H/S = 16383/16/63 independent of their size.
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/net/amd8111e.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ Revision History:
#include <linux/if_vlan.h>
#include <linux/ctype.h>
#include <linux/crc32.h>
#include <linux/dma-mapping.h>

#include <asm/system.h>
#include <asm/io.h>
Expand Down Expand Up @@ -2007,11 +2006,12 @@ static int __devinit amd8111e_probe_one(struct pci_dev *pdev,
}

/* Initialize DMA */
if (pci_set_dma_mask(pdev, DMA_32BIT_MASK) < 0) {
if(!pci_dma_supported(pdev, 0xffffffff)){
printk(KERN_ERR "amd8111e: DMA not supported,"
"exiting.\n");
goto err_free_reg;
}
goto err_free_reg;
} else
pdev->dma_mask = 0xffffffff;

reg_addr = pci_resource_start(pdev, 0);
reg_len = pci_resource_len(pdev, 0);
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/net/at1700.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
only is it difficult to detect, it also moves around in I/O space in
response to inb()s from other device probes!
*/
/*
99/03/03 Allied Telesis RE1000 Plus support by T.Hagawa
99/12/30 port to 2.3.35 by K.Takai
*/

#include <linux/config.h>
#include <linux/errno.h>
Expand Down
Loading

0 comments on commit ec19837

Please sign in to comment.