lkml.org 
[lkml]   [1996]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectCosmetic patch to init_ali14xx() for v2.[01].x
Date

--- ali14xx.c.orig Mon Dec 2 13:09:12 1996
+++ ali14xx.c Mon Dec 2 13:09:58 1996
@@ -202,11 +202,11 @@
{
/* auto-detect IDE controller port */
if (!findPort()) {
- printk("ali14xx: not found\n");
+ printk("\nali14xx: not found");
return;
}

- printk("ali14xx: base= 0x%03x, regOn = 0x%02x\n", basePort, regOn);
+ printk("\nali14xx: base= 0x%03x, regOn = 0x%02x", basePort, regOn);
ide_hwifs[0].chipset = ide_ali14xx;
ide_hwifs[1].chipset = ide_ali14xx;
ide_hwifs[0].tuneproc = &ali14xx_tune_drive;
@@ -214,7 +214,7 @@

/* initialize controller registers */
if (!initRegisters()) {
- printk("ali14xx: Chip initialization failed\n");
+ printk("\nali14xx: Chip initialization failed");
return;
}
}
This patch corrects the following:

ide_setup: idebus=33
ide_setup: ide0=ali14xxali14xx: base= 0x0f4, reg

Console: 16 point font, 400 scans

and results in:

ide_setup: idebus=33
ide_setup: ide0=ali14xx
ali14xx: base= 0x0f4, regOn = 0x30
Console: 16 point font, 400 scans

This patch was applied to v2.0.27 but should work on any v2.x kernel.
--
David Wilson Dept CompSci Uni Wollongong Australia david@cs.uow.edu.au

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.051 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site