Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3d33622 authored by Paul Mundt's avatar Paul Mundt
Browse files

Merge branch 'master' of...

parents fb7f045a 4bbba111
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -34,3 +34,23 @@ Contact: Richard Purdie <rpurdie@rpsys.net>
Description:
		Maximum brightness for <backlight>.
Users:		HAL

What:		/sys/class/backlight/<backlight>/type
Date:		September 2010
KernelVersion:	2.6.37
Contact:	Matthew Garrett <mjg@redhat.com>
Description:
		The type of interface controlled by <backlight>.
		"firmware": The driver uses a standard firmware interface
		"platform": The driver uses a platform-specific interface
		"raw": The driver controls hardware registers directly

		In the general case, when multiple backlight
		interfaces are available for a single device, firmware
		control should be preferred to platform control should
		be preferred to raw control. Using a firmware
		interface reduces the probability of confusion with
		the hardware and the OS independently updating the
		backlight state. Platform interfaces are mostly a
		holdover from pre-standardisation of firmware
		interfaces.
+31 −0
Original line number Diff line number Diff line
What:		/config/pcie-gadget
Date:		Feb 2011
KernelVersion:	2.6.37
Contact:	Pratyush Anand <pratyush.anand@st.com>
Description:

	Interface is used to configure selected dual mode PCIe controller
	as device and then program its various registers to configure it
	as a particular device type.
	This interfaces can be used to show spear's PCIe device capability.

	Nodes are only visible when configfs is mounted. To mount configfs
	in /config directory use:
	# mount -t configfs none /config/

	For nth PCIe Device Controller
	/config/pcie-gadget.n/
		link ... used to enable ltssm and read its status.
		int_type ...used to configure and read type of supported
			interrupt
		no_of_msi ... used to configure number of MSI vector needed and
			to read no of MSI granted.
		inta ... write 1 to assert INTA and 0 to de-assert.
		send_msi ... write MSI vector to be sent.
		vendor_id ... used to write and read vendor id (hex)
		device_id ... used to write and read device id (hex)
		bar0_size ... used to write and read bar0_size
		bar0_address ... used to write and read bar0 mapped area in hex.
		bar0_rw_offset ... used to write and read offset of bar0 where
			bar0_data will be written or read.
		bar0_data ... used to write and read data at bar0_rw_offset.
+1 −1
Original line number Diff line number Diff line
What:		/sys/bus/rbd/
Date:		November 2010
Contact:	Yehuda Sadeh <yehuda@hq.newdream.net>,
Contact:	Yehuda Sadeh <yehuda@newdream.net>,
		Sage Weil <sage@newdream.net>
Description:

+4 −4
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ o util-linux 2.10o # fdformat --version
o  module-init-tools      0.9.10                  # depmod -V
o  e2fsprogs              1.41.4                  # e2fsck -V
o  jfsutils               1.1.3                   # fsck.jfs -V
o  reiserfsprogs          3.6.3                   # reiserfsck -V 2>&1|grep reiserfsprogs
o  reiserfsprogs          3.6.3                   # reiserfsck -V
o  xfsprogs               2.6.0                   # xfs_db -V
o  squashfs-tools         4.0                     # mksquashfs -version
o  btrfs-progs            0.18                    # btrfsck
@@ -46,9 +46,9 @@ o isdn4k-utils 3.1pre1 # isdnctrl 2>&1|grep version
o  nfs-utils              1.0.5                   # showmount --version
o  procps                 3.2.0                   # ps --version
o  oprofile               0.9                     # oprofiled --version
o  udev                   081                     # udevinfo -V
o  grub                   0.93                    # grub --version
o  mcelog		  0.6
o  udev                   081                     # udevd --version
o  grub                   0.93                    # grub --version || grub-install --version
o  mcelog                 0.6                     # mcelog --version
o  iptables               1.4.2                   # iptables -V


+7 −0
Original line number Diff line number Diff line
@@ -168,6 +168,13 @@ Do not unnecessarily use braces where a single statement will do.
if (condition)
	action();

and

if (condition)
	do_this();
else
	do_that();

This does not apply if one branch of a conditional statement is a single
statement. Use braces in both branches.

Loading