RE: [RFC][PATCH] x86 BIOS Enhanced Disk Device (EDD) polling

From: Matt_Domsch@Dell.com
Date: Wed Sep 11 2002 - 14:09:32 EST


> The next logical extension would be to make a symlink 'disk' in each
> directory that points at the PCI
> bus:dev.fn/scsiX/a:b:c:d:disk file for the
> appropriate disk. However, I'm in a quandry... There's no
> simple way to do this.

Or is there? :-)

Patrick, in drivers/base/core.c, there's this concept of platform_notify()
and platform_notify_remove(). Could I exploit this to get callbacks to the
EDD code to create a symlink at that point? These aren't exported to
modules ATM, and I could see how multiple things may want to use this hook -
so instead, how about notifier lists (ala reboot notifiers) that the EDD
code could register with, instead of a single entry? As a list, modules
could add/remove themselves easily.

Then, one more request - giving back the ability to make a symlink given the
device, not just a name.

Thanks,
Matt

--
Matt Domsch
Sr. Software Engineer, Lead Engineer, Architect
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com

- 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 : Sun Sep 15 2002 - 22:00:26 EST