Mikulas Patocka wrote:
I am reading FreeBSD ATA drivers because I want to use them as base for my
ATA driver and I found a total nonsence: in ata-dma.c in FreeBSD 4.8,
there is line
if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<8))&0x4000)) {
Hm, it should be (IMHO)
if (!((pci_read_co
On Tue, 26 Aug 2003, Dan Lukes wrote:
> Mikulas Patocka napsal/wrote, On 08/20/03 01:39:
> > I am reading FreeBSD ATA drivers because I want to use them as base for my
> > ATA driver and I found a total nonsence: in ata-dma.c in FreeBSD 4.8,
> > there is line
> >
> > if (!((pci_read_config(paren
> > I am reading FreeBSD ATA drivers because I want to use them as base for
> > my ATA driver and I found a total nonsence: in ata-dma.c in FreeBSD 4.8,
> > there is line
> >
> > if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<8))&0x4000)) {
> >
> > if ch->unit is 1, config word is shifted by 25
Mikulas Patocka napsal/wrote, On 08/20/03 01:39:
I am reading FreeBSD ATA drivers because I want to use them as base for my
ATA driver and I found a total nonsence: in ata-dma.c in FreeBSD 4.8,
there is line
if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<8))&0x4000)) {
if ch->unit is 1, config
Mikulas Patocka napsal/wrote, On 08/20/03 01:39:
I am reading FreeBSD ATA drivers because I want to use them as base for my
ATA driver and I found a total nonsence: in ata-dma.c in FreeBSD 4.8,
there is line
if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<8))&0x4000)) {
if ch->unit is 1, config
On Wed, 20 Aug 2003, Mikulas Patocka wrote:
> Hi
>
> I am reading FreeBSD ATA drivers because I want to use them as base for my
> ATA driver and I found a total nonsence: in ata-dma.c in FreeBSD 4.8,
> there is line
>
> if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<8))&0x4000)) {
>
> if ch->
Hi
I am reading FreeBSD ATA drivers because I want to use them as base for my
ATA driver and I found a total nonsence: in ata-dma.c in FreeBSD 4.8,
there is line
if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<8))&0x4000)) {
if ch->unit is 1, config word is shifted by 256 bytes, which gives
un
7 matches
Mail list logo