Uncomment DEBUG level reporting of smartdimmer register
Fix issue 45: do_div() operands must be unsigned
Issue 47: Add 'type' parameter to support gnome-settings-daemon

gnome-settings-daemon prefers backlight devices in the order:

firmware
platform
raw

By default 'nvidiabl' sets itself to 'raw'. Adding this module option allows the
user to configure the type so as to have nvidiabl chosen in preference to other
backlight drivers (such as ACPI platform drivers).

To use it, add the option "type=?" to the module options replacing '?' with one
of the types listed above. E.g:

options nvidiabl type=firmware

or:

sudo modprobe nvidiabl type=firmware

Signed-off-by: TJ <linux@iam.tj>
Correct explanation of 'type' module parameter operation
Fix NV4x flicker and irregular brightness progression.

The original code used 16-bit I/O reads and writes to the smartdimmer
register. The Nvidia registers are 32-bit and should be addressed using
32-bit I/O operations on a word boundary

Use io{read,write}32() and adjust the register address and mask accordingly.

Signed-off-by: TJ <linux@iam.tj>
Merge pull request #49 from iam-TJ/fix-flicker

Fix NV4x flicker and irregular brightness progression.
Merge pull request #48 from iam-TJ/issue-47

Issue 47: Add 'type' parameter to support gnome-settings-daemon
Upgrade version after various commits from iam-TJ, thank you!
Add Acer Travelmate 8481TG and Toshiba L750 in autoload list, add support for Quadro KxxxxM family
Remove warning during module insert, add support for hp dv3500, change values for Macbook 5.1
Added the ASUS G75VW gaming laptop to nvidiabl-laptops.h so this module will autoload on my laptop.  The new line I added is based on the hardware info for my laptop which you can see here: https://gist.github.com/4301964 .
nvdiablctl: Added a 'get' command to get the current brightness.  Fixed the grammar in an error message: "set needs numeric second argument".
Merge pull request #65 from DavidEGrayson/pull_request_1

Adds G75VW to nvidiabl-laptops.h, adds "get" command for nvidiablctl
Add a mechanism to detect choose between LVDS and EDP outputs, add some laptops
Add install directory with install "binaries"
Update Makefile
Update Makefile