Messages in this thread Patch in this message |  | | From | David E A Wilson <> | Subject | Cosmetic patch to init_ali14xx() for v2.[01].x | Date | Mon, 2 Dec 1996 13:30:48 +1100 (EST) |
| |
--- 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
|  |