Re: 2.5.46 DAC960 :)

From: Dave Olien (dmo@osdl.org)
Date: Fri Nov 08 2002 - 12:48:41 EST


I've posted yet another new patch for the DAC960 driver for 2.5.46.
It's in

        http://www.osdl.org/archive/dmo/DAC960_2.5.46_V1/

This one uses the new pci_register_driver() interface. I've restructured
the code to use the new device probe method. This make the
new sysfs file system work.

This uncovered one bug in sysfs. The DAC960 driver puts its
devices into a subdirectory "/dev/rd". So the names constructed
in sysfs need to reflect this. At the top level, it does OK, creating
names like "rd!c0d0". The "!" in the name does cause some problems
for shells, so you need to put the name in single quotes to cd
into those directories.

But, the substitution of "!" for "/" isn't carried through to the lower
levels of the tree. So, you end of with names containing the "/" character.
There's no way the kernel can ever parse such a name properly.
But I'm sure that'll be fixed soon.

Dave Olien

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



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:16 EST