[haiku-commits] haiku: hrev52767 - data/settings/kernel/drivers src/add-ons/accelerants/vesa

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 16 Jan 2019 11:51:15 -0500 (EST)

hrev52767 adds 2 changesets to branch 'master'
old head: 9f8ad6a31ab96f0ae01660e6b8f40d1ef46dac8d
new head: 40cdf7d607211c5f27854cd3048ac00e8baf20ab
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=40cdf7d60721+%5E9f8ad6a31ab9

----------------------------------------------------------------------------

e04196d564eb: settings/drivers/kernel: Clean up and clarify comments.
  
  No "functional" change.

40cdf7d60721: accelerants/vesa: Indicate when we are a dumb framebuffer device.

                              [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]

----------------------------------------------------------------------------

2 files changed, 36 insertions(+), 33 deletions(-)
data/settings/kernel/drivers/kernel         | 56 ++++++++++++-------------
src/add-ons/accelerants/vesa/accelerant.cpp | 13 ++++--

############################################################################

Commit:      e04196d564ebcc9f0ac3bac637f76a73ef117609
URL:         https://git.haiku-os.org/haiku/commit/?id=e04196d564eb
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Wed Jan 16 16:35:40 2019 UTC

settings/drivers/kernel: Clean up and clarify comments.

No "functional" change.

----------------------------------------------------------------------------

diff --git a/data/settings/kernel/drivers/kernel 
b/data/settings/kernel/drivers/kernel
index bf890e32fd..cad041902b 100644
--- a/data/settings/kernel/drivers/kernel
+++ b/data/settings/kernel/drivers/kernel
@@ -1,70 +1,66 @@
 #disable_smp true
-       # disables multiprocessor support, default is enabled
+       # Disables multiprocessor support, which is enabled by default
 
 #serial_debug_output false
-       # disables serial debug output, default is enabled
+       # Disables serial debug output, which is enabled by default
 
 #serial_debug_port 1
-       # possible values: <num>|<port>
-       # serial interface number (as enumerated by the BIOS) or the
-       # base port of the serial interface to be used for kernel
-       # debug output and the kernel debugger
-       # default is 0 (COM1)
+       # Possible values: <num>|<port>
+       # Serial interface number (as enumerated by the BIOS) or the base port 
of
+       # the serial interface to be used for kernel debug output and KDL.
+       # Default is 0 (COM1).
 
 #serial_debug_speed 57600
-       # possible values: <9600|19200|38400|57600|115200>
-       # default is 115200
+       # Possible values: <9600|19200|38400|57600|115200>, default is 115200.
 
 #syslog_debug_output false
-       # disables syslog debug output - all debug output is also sent to
-       # the syslog service by default.
+       # Disables sending debug output to syslog_daemon, which is enabled by 
default.
+       # Does not affect serial and onscreen debug output.
 
 #syslog_buffer_size 131768
        # The default size of the internal syslog ring buffer - if you often see
        # <DROP> or <TRUNC> messages in your syslog, you might want to increase
-       # this value. Defaults to 65536 bytes.
+       # this value. Defaults to 65536 (bytes).
 
 #syslog_time_stamps true
        # Include time stamps in syslog debug output, defaults to false.
 
 #syslog_max_size 20MB
-       # change maximum syslog file size, default is 512kB
+       # Sets the maximum syslog file size, default is 512kB.
 
 #bluescreen false
-       # enables/disables on-screen KDL (defaults to on),
-       # you want to disable this for serial debugging
+       # Enables/disables on-screen KDL, which defaults to enabled.
+       # You likely want to disable this when using serial debugging.
 
 #bochs_debug_output true
-       # Activates Bochs debug output if enabled in the kernel
-       # (available on x86 as a build option only)
+       # Activates Bochs debug output if enabled in the kernel (available on 
x86
+       # as a build option only)
 
 #laplinkll_debug_output true
-       # Activates parallel debug output. Requires a laplink cable
-       # and a custom BeOS driver on the other end.
+       # Activates parallel debug output. Requires a laplink cable and a custom
+       # driver on the other end.
 
 #qemu_single_step_hack true
-       # Activates a hack that allows single-stepping under qemu
-       # to work.
+       # Activates a hack that allows single-stepping under qemu to work.
 
 load_symbols true
-       # load kernel and kernel add-on symbols, default is off
+       # Load kernel and kernel add-on symbols, disabled by default.
 
 #apm true
-       # APM (advanced power management) support
-       # (system shutdown, battery info, ...)
-       # default is off
+       # APM (advanced power management) support (shutdown, battery info, ...),
+       # disabled by default.
 
 #emergency_keys false
-       # Disables emergency keys (ie. Alt-SysReq+*), enabled by default
+       # Disables emergency keys (ie. Alt-SysReq+*), enabled by default.
 
 #acpi false
-       # ACPI support, enabled by default
+       # ACPI support, enabled by default.
 
 #disable_ioapic true
-       # Disables IO-APIC support, enabled by default
+       # Disables IO-APIC support, which is enabled by default.
 
 #4gb_memory_limit true
-       # Ignores all memory beyond the 4 GB address limit. Default is false.
+       # Ignores all memory beyond 4 GB, disabled by default.
 
 #fail_safe_video_mode true
-       # Use failsafe (vesa) video mode on every boot.
+       # Use failsafe (VESA/framebuffer) video mode on every boot.

############################################################################

Revision:    hrev52767
Commit:      40cdf7d607211c5f27854cd3048ac00e8baf20ab
URL:         https://git.haiku-os.org/haiku/commit/?id=40cdf7d60721
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Wed Jan 16 16:49:56 2019 UTC

accelerants/vesa: Indicate when we are a dumb framebuffer device.

----------------------------------------------------------------------------

diff --git a/src/add-ons/accelerants/vesa/accelerant.cpp 
b/src/add-ons/accelerants/vesa/accelerant.cpp
index 5790ba761f..3120d46b7d 100644
--- a/src/add-ons/accelerants/vesa/accelerant.cpp
+++ b/src/add-ons/accelerants/vesa/accelerant.cpp
@@ -235,9 +235,16 @@ status_t
 vesa_get_accelerant_device_info(accelerant_device_info *info)
 {
        info->version = B_ACCELERANT_VERSION;
-       strcpy(info->name, "VESA Driver");
-       strcpy(info->chipset, "VESA");
-               // ToDo: provide some more insight here...
+
+       // TODO: provide some more insight here...
+       if (gInfo->vesa_modes != NULL) {
+               strcpy(info->name, "VESA driver");
+               strcpy(info->chipset, "VESA");
+       } else {
+               strcpy(info->name, "Framebuffer");
+               strcpy(info->chipset, "");
+       }
+
        strcpy(info->serial_no, "None");
 
 #if 0


Other related posts: