Re: [PATCH 2.6] Natsemi - remove compilation warnings

From: Jeff Garzik (jgarzik_at_pobox.com)
Date: 09/30/04

  • Next message: Andi Kleen: "Re: [PATCH] fix improper use of pci_module_init() in drivers/char/agp/amd64-agp.c"
    Date:	Thu, 30 Sep 2004 16:08:26 -0400
    To: "David S. Miller" <davem@davemloft.net>
    
    

    David S. Miller wrote:
    > On Thu, 30 Sep 2004 14:21:57 -0400
    > Jeff Garzik <jgarzik@pobox.com> wrote:
    >
    >
    >>Wouldn't it be better to just phase out the base of dev->base_addr
    >>completely? I tend to prefer adding a "void __iomem *regs" to struct
    >>netdev_private, and ignore dev->base_addr completely.
    >
    >
    > Yes, this is the way to go.
    >
    > (BTW, Jeff, technically it's the 'ifmap' that the user uses
    > to pass base_addr into the kernel. The kernel drivers use
    > the netdev struct one, which is an unsigned long)

    Yep, that's why it's truncated to 16-bits in ifconfig output.

            Jeff

    -
    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/


  • Next message: Andi Kleen: "Re: [PATCH] fix improper use of pci_module_init() in drivers/char/agp/amd64-agp.c"

    Relevant Pages

    • Re: [PATCH] Re: SERIO_USERDEV patch for 2.6
      ... > the kernel drivers are not disconnected. ... It would be trivial to clean it up, if I wouldn't inline ... > I tested the patch in a couple of machines, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: starting with 2.7
      ... Its relatively easy to fix in kernel drivers for API changes during a ... release cycle and it helps enormously being able to do so. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: keyboard problem with 2.6.6
      ... You're free to hack the kernel drivers. ... > by the new but incompatible mouse/keyboard behaviours. ... How can you propose moving keyboard handling to userland in one thread ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • kernel panic!
      ... Is it true that only kernel drivers and modules can cause a "kernel panic"? ... is it possible for an user level application to be the cause of ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)