// SPDX-License-Identifier: GPL-2.0 /* * For architectures where we want to allow direct access to the PCI config * stuff - it would probably be preferable on PCs too, but there people * just do it by hand with the magic northbridge registers.
*/
error: /* ??? XFree86 doesn't even check the return value. They just look for 0xffffffff in the output, since that's what
they get instead of a machine check on x86. */ switch (len) { case 1:
put_user(-1, (u8 __user *)buf); break; case 2:
put_user(-1, (u16 __user *)buf); break; case 4:
put_user(-1, (u32 __user *)buf); break;
}
pci_dev_put(dev); return err;
}
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.