Module Name: src Committed By: cegger Date: Sat Jan 22 15:14:28 UTC 2011
Modified Files: src/sys/dev/pci: chipsfb.c files.pci genfb_pci.c machfb.c pm2fb.c r128fb.c radeonfb.c tga.c unichromefb.c vga_pci.c voodoofb.c voyagerfb.c wcfb.c src/sys/dev/wscons: wsconsio.h Added Files: src/sys/dev/pci: wsdisplay_pci.c wsdisplay_pci.h Log Message: Implement new WSDISPLAYIO_GET_BUSID ioctl. It returns the bus id and allows userland (like Xorg) to create mapping of ttyE? and bus id. For now only PCI is implemented. First discussed with macallan@ then public on tech-kern@ and tech-x11@ To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/pci/chipsfb.c cvs rdiff -u -r1.335 -r1.336 src/sys/dev/pci/files.pci cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pci/genfb_pci.c \ src/sys/dev/pci/voodoofb.c cvs rdiff -u -r1.62 -r1.63 src/sys/dev/pci/machfb.c cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/pm2fb.c src/sys/dev/pci/voyagerfb.c cvs rdiff -u -r1.19 -r1.20 src/sys/dev/pci/r128fb.c cvs rdiff -u -r1.40 -r1.41 src/sys/dev/pci/radeonfb.c cvs rdiff -u -r1.80 -r1.81 src/sys/dev/pci/tga.c cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/unichromefb.c cvs rdiff -u -r1.52 -r1.53 src/sys/dev/pci/vga_pci.c cvs rdiff -u -r1.7 -r1.8 src/sys/dev/pci/wcfb.c cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/wsdisplay_pci.c \ src/sys/dev/pci/wsdisplay_pci.h cvs rdiff -u -r1.93 -r1.94 src/sys/dev/wscons/wsconsio.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.