lkml.org 
[lkml]   [1996]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[patch / 2.1.10] SMC Ultra cosmetic buglet
Date
From

It's against 2.1.10, but should go into just about any version.

This has bothered me for a while, so I decided to tidy it up a bit.

It changes the output of the init. of the driver.

From:
SMC Ultra at 0x260, 00 00 C0 47 76 82,assigned IRQ 10 memory 0xe8000-0xebfff.

To:
SMC Ultra at 0x260, 00 00 C0 47 76 82, assigned IRQ 10 memory 0xe8000-0xebfff.

Much nicer. :)

--- linux/drivers/net/smc-ultra.c.orig Sat Nov 16 18:28:52 1996
+++ linux/drivers/net/smc-ultra.c Sat Nov 16 18:31:30 1996
@@ -227,13 +227,13 @@
= dev->mem_start + (ei_status.stop_page - START_PG)*256;

if (piomode) {
- printk(",%s IRQ %d programmed-I/O mode.\n",
- eeprom_irq ? "EEPROM" : "assigned ", dev->irq);
+ printk(", %s IRQ %d programmed-I/O mode.\n",
+ eeprom_irq ? "EEPROM" : "assigned", dev->irq);
ei_status.block_input = &ultra_pio_input;
ei_status.block_output = &ultra_pio_output;
ei_status.get_8390_hdr = &ultra_pio_get_hdr;
} else {
- printk(",%s IRQ %d memory %#lx-%#lx.\n", eeprom_irq ? "" : "assigned ",
+ printk(", %s IRQ %d memory %#lx-%#lx.\n", eeprom_irq ? "" : "assigned",
dev->irq, dev->mem_start, dev->mem_end-1);
ei_status.block_input = &ultra_block_input;
ei_status.block_output = &ultra_block_output;
---
Which is worse: ignorance or apathy? Who knows? Who cares?

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