// SPDX-License-Identifier: GPL-2.0 /* drivers/nubus/proc.c: Proc FS interface for NuBus.
By David Huggins-Daines <dhd@debian.org>
Much code and many ideas from drivers/pci/proc.c: Copyright (c) 1997, 1998 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
This is initially based on the Zorro and PCI interfaces. However, it works somewhat differently. The intent is to provide a structure in /proc analogous to the structure of the NuBus ROM resources.
Therefore each board function gets a directory, which may in turn contain subdirectories. Each slot resource is a file. Unrecognized resources are empty files, since every resource ID requires a special case (e.g. if the resource ID implies a directory or block, then its value has to be interpreted as a slot ROM pointer etc.).
*/
/* The PDE private data for a file under /proc/bus/nubus/x/ is a pointer to * an instance of the following structure, which gives the location and size * of the resource data in the slot ROM. For slot resources which hold only a * small integer, this integer value is stored directly and size is set to 0. * A NULL private data pointer indicates an unrecognized resource.
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.