Re: New Mitsumi legacy CD-ROM driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/08/2007 03:49 PM, Jens Axboe wrote:

The key is that you have to have interrupts disabled for the highmem
case, which may complicate your driver (or just make it perform worse,
from the system POV). If you let the block layer bounce, then you can
just use page_address() and don't worry about disabling interrupts.

Okay, yes, thank you, the mapping is gone. The data-transfer loop has now turned into just:

rq_for_each_bio(bio, req)
     bio_for_each_segment(bvec, bio, segno)
          ioread8_rep(mcd->ioaddr, page_address(bvec->bv_page) +
                      bvec->bv_offset, bvec->bv_len);

- Or, it's a newer system and the nerd in you likes to play with ancient
  CD-ROM drives.

And he has long since driven out most of my other personalities...

Fine with me... As far as I am concerned, you are now the legacy CD-ROM
driver maintainer :-)

Yippie :-)

Rene.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux