public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Support for TI FlashMedia (pci id 104c:8033, 104c:803b) flash card readers
@ 2006-07-28  3:34 Alex Dubov
  2006-07-28  4:04 ` Alexey Dobriyan
                   ` (2 more replies)
  0 siblings, 3 replies; 39+ messages in thread
From: Alex Dubov @ 2006-07-28  3:34 UTC (permalink / raw)
  To: linux-kernel

I would like to announce the availability of the
driver for TI FlashMedia flash card readers. Currently
supported pci ids:
1. 104c:8033.3
2. 104c:803b.2

Device with id 8033 also features sdhci interface (as
subfunction 4). However, sdhci is disabled on many
laptops (notably Acer's), while FlashMedia interface
is available.

The driver is called tifmxx and available from:
http://developer.berlios.de/projects/tifmxx/

Only mmc/sd cards are supported at present, via mmc
subsystem. Provisions for other card types (Sony MS,
xD and such) are in place, but no support is available
due to lack of hardware and interest.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 39+ messages in thread
* Re: Support for TI FlashMedia (pci id 104c:8033, 104c:803b) flash card readers
@ 2006-07-28 16:04 Mikael Pettersson
  2006-07-29  6:43 ` Alex Dubov
  0 siblings, 1 reply; 39+ messages in thread
From: Mikael Pettersson @ 2006-07-28 16:04 UTC (permalink / raw)
  To: oakad, pazke; +Cc: linux-kernel

On Fri, 28 Jul 2006 06:02:11 -0700 (PDT), Alex Dubov wrote:
>The exact condition is (irq_status!=0 &&
>irq_status!=0xffffffff). I think it is not any better
>that what I have.
>
>--- Andrey Panin <pazke@donpac.ru> wrote:
>
>> On 208, 07 27, 2006 at 08:34:06PM -0700, Alex Dubov
>> wrote:
>> 
>> What this strange line (in tifm_7xx1_isr function)
>> is supposed to do:
>> 
>>         if(irq_status && (~irq_status))

If you're chasing micro-optimisations, you could write

    /* if irq_status is not 0 or ~0, do <blah> */
    if (((unsigned)irq_status + 1) >= 2)

which should reduce the number of conditional branches
to a single one. (And drop the cast if irq_status is
declared as unsigned.)

But for long-term maintenance just spelling out the exact
condition (irq_status != 0 && irq_status != ~0) is preferable.

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2006-09-19  6:50 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-28  3:34 Support for TI FlashMedia (pci id 104c:8033, 104c:803b) flash card readers Alex Dubov
2006-07-28  4:04 ` Alexey Dobriyan
2006-07-29 15:11   ` Alex Dubov
2006-07-28 11:46 ` Andrey Panin
2006-07-28 13:02   ` Alex Dubov
2006-07-29 20:02 ` Pierre Ossman
2006-07-30  6:29   ` Alex Dubov
2006-07-30 10:12     ` Pierre Ossman
2006-07-31 15:11       ` Alex Dubov
2006-07-31 17:37         ` Pierre Ossman
2006-08-02  2:12           ` Alex Dubov
2006-08-02  9:31             ` Pierre Ossman
2006-09-02  8:53               ` Alex Dubov
2006-09-02 11:15                 ` Pierre Ossman
2006-09-02 16:48                   ` Andrew Morton
2006-09-02 20:50                     ` Pierre Ossman
2006-09-03  3:48                       ` Greg KH
2006-09-03  9:53                         ` Pierre Ossman
2006-09-05 19:12                           ` Greg KH
2006-09-05 20:08                             ` Pierre Ossman
2006-09-06  3:33                               ` Greg KH
2006-09-06  5:02                                 ` Pierre Ossman
2006-09-07  3:00                                   ` Alex Dubov
2006-09-15  2:17                                   ` Alex Dubov
2006-09-15  6:43                                     ` Pierre Ossman
2006-09-19  3:20                                       ` Alex Dubov
2006-09-19  6:03                                         ` Pierre Ossman
2006-09-03  7:41                   ` Alex Dubov
2006-09-03 10:03                     ` Pierre Ossman
2006-09-04 14:12                       ` Alex Dubov
2006-09-04 14:49                         ` Pierre Ossman
2006-09-03 10:20                     ` Russell King
2006-09-03 10:32                       ` Pierre Ossman
2006-09-04 14:28                         ` Alex Dubov
2006-09-04 14:41                           ` Pierre Ossman
2006-09-05  2:18                             ` Alex Dubov
2006-09-05  5:35                               ` Pierre Ossman
  -- strict thread matches above, loose matches on Subject: below --
2006-07-28 16:04 Mikael Pettersson
2006-07-29  6:43 ` Alex Dubov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox