lkml.org 
[lkml]   [2003]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: PCI code: why need outb (0x01, 0xCFB); ?
Date
From
Normally all accesses should be long (0xcf8/0xcfc) but x86 is byte addresseable and some chipsets do support byte accesses. 

We do not encourage use of byte accesses as it will not be supported in future platforms.

Thanks,
Jun

> -----Original Message-----
> From: H. Peter Anvin [mailto:hpa@zytor.com]
> Sent: Wednesday, January 08, 2003 10:53 AM
> To: linux-kernel@vger.kernel.org
> Subject: Re: PCI code: why need outb (0x01, 0xCFB); ?
>
> Followup to: <F87sTOHYNhMwqvbLaKL0001615a@hotmail.com>
> By author: "fretre lewis" <fretre3618@hotmail.com>
> In newsgroup: linux.dev.kernel
>
> > 1. which device is at port address 0xCFB?
>
> Hopefully none.
>
> > 2. what is meaning of the writing operation "outb (0x01, 0xCFB);" for
> THIS
> > device?, it'seem that PCI spec v2.0 not say anything about it?
>
> It's trying to verify that the PCI northbridge does *NOT* respond to
> this (byte-wide) reference.
>
> -hpa
> --
> <hpa@transmeta.com> at work, <hpa@zytor.com> in private!
> "Unix gives you enough rope to shoot yourself in the foot."
> http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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