* PATCH: fix 32bit compile problem with IDE changes
@ 2004-08-16 13:53 Alan Cox
0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2004-08-16 13:53 UTC (permalink / raw)
To: linux-ide, linux-kernel, torvalds
This fixes the 32bit compile problem some people had. Since we fixed the
underlying issue now we can lose the geometry hack
--- drivers/ide/ide-probe.c~ 2004-08-16 14:51:06.071010312 +0100
+++ drivers/ide/ide-probe.c 2004-08-16 14:51:06.071010312 +0100
@@ -557,17 +557,6 @@
if(strstr(id->model, "Integrated Technology Express"))
{
/* IT821x raid volume with bogus ident block */
- if(id->lba_capacity >= 0x200000)
- {
- id->sectors = 63;
- id->heads = 255;
- }
- else
- {
- id->sectors = 32;
- id->heads = 64;
- }
- id->cyls = id->lba_capacity_2 / (id->heads * id->sectors);
/* LBA28 is ok, DMA is ok, UDMA data is valid */
id->capability |= 3;
id->field_valid |= 7;
Signed-off-by: Alan Cox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-16 13:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-16 13:53 PATCH: fix 32bit compile problem with IDE changes Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).