From owner-freebsd-current Wed Jul 30 05:18:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA27231 for current-outgoing; Wed, 30 Jul 1997 05:18:02 -0700 (PDT) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA27222 for ; Wed, 30 Jul 1997 05:17:58 -0700 (PDT) Received: from rhiannon.scsn.net ([208.133.153.178]) by mail.scsn.net (Post.Office MTA v3.1 release PO203a ID# 0-32322U5000L100S10000) with ESMTP id AAA161; Wed, 30 Jul 1997 08:08:13 -0400 Received: (from root@localhost) by rhiannon.scsn.net (8.8.6/8.8.5) id IAA00198; Wed, 30 Jul 1997 08:17:33 -0400 (EDT) Message-ID: <19970730081733.55871@scsn.net> Date: Wed, 30 Jul 1997 08:17:33 -0400 From: "Donald J. Maddox" To: =?iso-8859-1?Q?S=F8ren_Schmidt?= Cc: dmaddox@scsn.net, cgull@smoke.marlboro.vt.us, doogie@forbidden-donut.anet-stl.com, freebsd-current@FreeBSD.ORG Subject: Re: code talks: announcing EIDE bus master patches Reply-To: dmaddox@scsn.net References: <19970730072456.05185@scsn.net> <199707301158.NAA02177@sos.freebsd.dk> <19970730080303.36552@scsn.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.79 In-Reply-To: <19970730080303.36552@scsn.net>; from Donald J. Maddox on Wed, Jul 30, 1997 at 08:03:03AM -0400 Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, Jul 30, 1997 at 08:03:03AM -0400, Donald J. Maddox wrote: > On Wed, Jul 30, 1997 at 01:58:02PM +0200, Søren Schmidt wrote: > > In reply to Donald J. Maddox who wrote: > > > > > > Anybody know why I'm seeing the following after building a new kernel > > > with the EIDE bus master patches? Do I need to add something to my config > > > to activate this, or ??? > > > > > > Yes, as stated in the commit etc, you need to set the flags to 0xa0ffa0ff > > to get DMA support (if the drive and controller supports it). > > > > > wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa > > ^^^^^^^^^^ > > > wdc1 at 0x170-0x177 irq 15 flags 0x80ff80ff on isa > > ^^^^^^^^^^ > > > wdc1: unit 0 (atapi): , removable, iordy > > > > Geez, how did I miss that? Thanks for the info :-) > Well, apparently, that's not the whole story: Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Wed Jul 30 08:11:06 EDT 1997 root@rhiannon.scsn.net:/usr/src/sys/compile/RHIANNON CPU: Pentium (166.19-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf real memory = 33554432 (32768K bytes) avail memory = 30920704 (30196K bytes) Probing for devices on PCI bus 0: chip0: rev 0x01 on pci0.0.0 chip1: rev 0x00 on pci0.7.0 ide_pci0: rev 0x00 on pci0.7.1 ide_pci: warning, ide0:0 not configured for DMA? ide_pci: warning, ide0:1 not configured for DMA? ide_pci: warning, ide1:0 not configured for DMA? ide_pci: warning, ide1:1 not configured for DMA? ahc0: rev 0x00 int a irq 12 on pci0.10.0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs scbus0 at ahc0 bus 0 ahc0: target 0 Tagged Queuing Device sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 2040MB (4178874 512 byte sectors) sd0: with 2708 cyls, 19 heads, and an average 81 sectors/track ahc0: target 1 Tagged Queuing Device sd1 at scbus0 target 1 lun 0 sd1: type 0 fixed SCSI 2 sd1: Direct-Access 507MB (1039329 512 byte sectors) sd1: with 2380 cyls, 6 heads, and an average 72 sectors/track vga0: rev 0x00 int a irq 11 on pci0.12.0 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A pca0 on motherboard pca0: PC speaker audio driver wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-32 wd0: 1277MB (2615760 sectors), 2595 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa wdc1: unit 0 (atapi): , removable, iordy atapi1.0: unknown phase fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface sb0 at 0x220-0x22f irq 5 drq 1 on isa sb0: sbxvi0 drq 5 on isa sbxvi0: sbmidi0 at 0x330-0x331 on isa sbmidi0: opl0 at 0x388-0x38b on isa opl0: joy0 at 0x201 on isa joy0: joystick