{
struct eisa_device *edev = to_eisa_device (dev);
return sprintf (buf,"%s\n", edev->id.sig);
{
struct eisa_device *edev = to_eisa_device (dev);
return sprintf (buf,"%s\n", edev->id.sig);
static DEVICE_ATTR(signature, S_IRUGO, eisa_show_sig, NULL);
static DEVICE_ATTR(signature, S_IRUGO, eisa_show_sig, NULL);
{
struct eisa_device *edev = to_eisa_device (dev);
return sprintf (buf,"%d\n", edev->state & EISA_CONFIG_ENABLED);
{
struct eisa_device *edev = to_eisa_device (dev);
return sprintf (buf,"%d\n", edev->state & EISA_CONFIG_ENABLED);
/* First try to get hold of slot 0. If there is no device
* here, simply fail, unless root->force_probe is set. */
/* First try to get hold of slot 0. If there is no device
* here, simply fail, unless root->force_probe is set. */
if (eisa_request_resources (root, edev, 0)) {
printk (KERN_WARNING \
"EISA: Cannot allocate resource for mainboard\n");
if (eisa_request_resources (root, edev, 0)) {
printk (KERN_WARNING \
"EISA: Cannot allocate resource for mainboard\n");