Re: 2.3.99-pre2: soundcard.c doesn't compile if !CONFIG_PCI

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Mon Mar 20 2000 - 20:26:42 EST


Nick Holloway wrote:
>
> If you don't have CONFIG_PCI defined (an old 486 ThinkPad), then you
> get the following compilation error:
>
> soundcard.c:672: invalid lvalue in assignment
>
> This is the code "isa_dma_bridge_buggy = dmabug;", but if you do not
> have PCI configured, you have "#define isa_dma_bridge_buggy (0)".
>
> In 2.3.51, this code was protected by "#if HAVE_BRIDGE_BUGGY_FUNC".

The isa_dma_bridge_buggy thing sounds like it needs to be surrounded by
'ifdef CONFIG_PCI' not HAVE_BRIDGE_BUGGY_FUNC...

-- 
Jeff Garzik              | Tact is the ability to tell a man 
Building 1024            | he has an open mind when he has a
MandrakeSoft, Inc.       | hole in his head.  (-random fortune)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:31 EST