lkml.org 
[lkml]   [2008]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] pcmcia: minor logging improvement on card detection
Hi,

On Fri, Nov 07, 2008 at 02:35:15PM +0100, Frans Pop wrote:
> From: Frans Pop <elendil@planet.nl>
>
> pcmcia: minor logging improvement on card detection
>
> Show for which device a card has been inserted, so instead of:
> pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
> print:
> yenta_cardbus 0000:01:0b.0: pccard: CardBus card inserted into slot 0
>
> This provides a more logical link between previous and following messages.

unfortunately, this won't work -- &skt->cb_dev is only available and set if
the parent device is a PCI device; therefore, &skt->dev is the only thing we
can use.

Best,
Dominik


\
 
 \ /
  Last update: 2008-11-09 21:53    [W:0.036 / U:8.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site