Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 1997 08:39:12 -0400
From:      "Donald J. Maddox" <root@scsn.net>
To:        =?iso-8859-1?Q?S=F8ren_Schmidt?= <sos@sos.freebsd.dk>
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
Message-ID:  <19970730083912.16090@scsn.net>
In-Reply-To: =?iso-8859-1?Q?=3C199707301220=2EOAA02238=40sos=2Efreebsd=2Edk=3E=3B_fro?= =?iso-8859-1?Q?m_S=F8ren_Schmidt_on_Wed=2C_Jul_30=2C_1997_at_02=3A20=3A4?= =?iso-8859-1?Q?4PM_%2B0200?=
References:  <19970730081733.55871@scsn.net> <199707301220.OAA02238@sos.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 30, 1997 at 02:20:44PM +0200, Søren Schmidt wrote:
> In reply to Donald J. Maddox who wrote:
> > > > 
> > > > 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): <V004H0DT B/4V001-4.>, removable, iordy
> > > > 
> > >     Geez, how did I miss that?  Thanks for the info :-)
> > 
> > Well, apparently, that's not the whole story:
> 
> Yes it is, and you have DMA support:
> 
> > wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
> > wdc0: unit 0 (wd0): <Maxtor 71336 AP>, DMA, 32-bit, multi-block-32
>                                          ^^^
> > wd0: 1277MB (2615760 sectors), 2595 cyls, 16 heads, 63 S/T, 512 B/S
> 
> see??

    Well, no, not entirely...  My original msg was basically an enquiry
as to why I am seeing the following msgs at boot:


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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 30920704 (30196K bytes)
Probing for devices on PCI bus 0:
chip0: <Intel 82439> rev 0x01 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x00 on pci0.7.0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> 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?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    Adding the proper flag does indeed enable the DMA, but I could care
less about that, since I only have Win95/NT on IDE drives.  I just want to
know why I am getting the messages from ide_pci, and how to shut them up.

    I should have been more specific in my original msg.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970730083912.16090>