[lkml]   [1996]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Dummy driver broken in pre-2.0.5
> The reason, why I've changed the default return value of dev_open,
> was a problem with a lance based ethernet card. When the lance driver
> is unable to detect irq or dma, it leaves the device structure without
> putting an open function in it. This is ok, but the lance driver has
> already called ether_setup(), so it's possible to give the device
> an IP address. As soon as IP sends a packet to the driver, the kernel
> pancis.

The lance driver should add an open routine that returns -ENODEV. I've
backed your change out for the next diffs for Linus.

 \ /
  Last update: 2005-03-22 13:37    [W:0.031 / U:3.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site