diff options
author | Thomas Bushnell <thomas@gnu.org> | 1997-03-24 21:53:03 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1997-03-24 21:53:03 +0000 |
commit | 30b32d2ccbf95436b642e6208d6829dcf68981fa (patch) | |
tree | 481af37a46b22473db7cadf280a6b5466136d726 /i386/i386at/gpl/linux/block | |
parent | 455c9e455d124e3359d8f9e16ffe111178589e6f (diff) |
prerelease work
Diffstat (limited to 'i386/i386at/gpl/linux/block')
-rw-r--r-- | i386/i386at/gpl/linux/block/genhd.c | 20 | ||||
-rw-r--r-- | i386/i386at/gpl/linux/block/triton.c | 8 |
2 files changed, 18 insertions, 10 deletions
diff --git a/i386/i386at/gpl/linux/block/genhd.c b/i386/i386at/gpl/linux/block/genhd.c index 60cba6c..cebc7ea 100644 --- a/i386/i386at/gpl/linux/block/genhd.c +++ b/i386/i386at/gpl/linux/block/genhd.c @@ -88,7 +88,7 @@ static void add_partition (struct gendisk *hd, int minor, int start, int size) { hd->part[minor].start_sect = start; hd->part[minor].nr_sects = size; - print_minor_name(hd, minor); + /* print_minor_name(hd, minor);*/ } static inline int is_extended_partition(struct partition *p) @@ -301,7 +301,7 @@ check_table: continue; add_partition(hd, minor, first_sector+START_SECT(p), NR_SECTS(p)); if (is_extended_partition(p)) { - printk(" <"); + /* printk(" <");*/ /* * If we are rereading the partition table, we need * to set the size of the partition so that we will @@ -311,7 +311,7 @@ check_table: hd->sizes[minor] = hd->part[minor].nr_sects >> (BLOCK_SIZE_BITS - 9); extended_partition(hd, MKDEV(hd->major, minor)); - printk(" >"); + /* printk(" >");*/ /* prevent someone doing mkfs or mkswap on an extended partition, but leave room for LILO */ if (hd->part[minor].nr_sects > 2) @@ -332,7 +332,7 @@ check_table: add_partition(hd, current_minor, START_SECT(p), NR_SECTS(p)); } } - printk("\n"); + /* printk("\n");*/ brelse(bh); return 1; } @@ -405,7 +405,7 @@ static int osf_partition(struct gendisk *hd, unsigned int dev, unsigned long fir partition->p_size); current_minor++; } - printk("\n"); + /* printk("\n");*/ brelse(bh); return 1; } @@ -475,7 +475,7 @@ static int sun_partition(struct gendisk *hd, unsigned int dev, unsigned long fir add_partition(hd, current_minor, st_sector, p->num_sectors); current_minor++; } - printk("\n"); + /* printk("\n");*/ brelse(bh); return 1; } @@ -487,8 +487,8 @@ static void check_partition(struct gendisk *hd, kdev_t dev) static int first_time = 1; unsigned long first_sector; - if (first_time) - printk("Partition check:\n"); + /* if (first_time) + printk("Partition check:\n");*/ first_time = 0; first_sector = hd->part[MINOR(dev)].start_sect; @@ -501,8 +501,8 @@ static void check_partition(struct gendisk *hd, kdev_t dev) return; } - printk(" "); - print_minor_name(hd, MINOR(dev)); + /* printk(" "); + print_minor_name(hd, MINOR(dev));*/ #ifdef CONFIG_MSDOS_PARTITION if (msdos_partition(hd, dev, first_sector)) return; diff --git a/i386/i386at/gpl/linux/block/triton.c b/i386/i386at/gpl/linux/block/triton.c index 5829661..4f825f6 100644 --- a/i386/i386at/gpl/linux/block/triton.c +++ b/i386/i386at/gpl/linux/block/triton.c @@ -341,9 +341,13 @@ static void init_triton_dma (ide_hwif_t *hwif, unsigned short base) { static unsigned long dmatable = 0; +#if 0 printk(" %s: BusMaster DMA at 0x%04x-0x%04x", hwif->name, base, base+7); +#endif if (check_region(base, 8)) { +#if 0 printk(" -- ERROR, PORTS ALREADY IN USE"); +#endif } else { request_region(base, 8, "triton DMA"); hwif->dma_base = base; @@ -362,7 +366,9 @@ static void init_triton_dma (ide_hwif_t *hwif, unsigned short base) hwif->dmaproc = &triton_dmaproc; } } +#if 0 printk("\n"); +#endif } /* @@ -448,10 +454,12 @@ void ide_init_triton (byte bus, byte fn) continue; s_clks = ((~time >> 12) & 3) + 2; r_clks = ((~time >> 8) & 3) + 1; +#if 0 printk(" %s timing: (0x%04x) sample_CLKs=%d, recovery_CLKs=%d (PIO mode%d)\n", hwif->name, time, s_clks, r_clks, calc_mode(s_clks+r_clks)); print_triton_drive_flags (0, time & 0xf); print_triton_drive_flags (1, (time >> 4) & 0xf); +#endif } quit: if (rc) printk("ide: pcibios access failed - %s\n", pcibios_strerror(rc)); |