Commit Graph

1654 Commits

Author SHA1 Message Date
mycroft 0a960e80ec +cs@pcmcia 2004-08-10 20:50:11 +00:00
junyoung 0889de87d0 xi -> xirc,com,xi 2004-08-09 05:23:52 +00:00
mycroft 958716ead8 xi -> xirc,com,xi 2004-08-08 08:54:43 +00:00
mrg 0078e5d6ca update the comment for ichlpcib to include SpeedStep. 2004-07-31 17:35:19 +00:00
jmmv 2a08d54a9a Implement border color customization in wscons(4), only available for vga(4)
at the moment.

This includes the addition of two new wsdisplay ioctls, WSDISPLAY_{G,S}BORDER,
one to get the actual color and one to set it, respectively.  Possible colors
match those defined by ANSI (and listed in wsdisplayvar.h).

It also adds two accessops to the underlying graphics device, getborder and
setborder, which mach their ioctl counterparts.

Two kernel options are added: WSDISPLAY_CUSTOM_BORDER, which enables the
ioctls described above (to customize the border color from userland after
boot), and WSDISPLAY_BORDER_COLOR, which sets the color at boot time.
The former is enabled by default on the GENERIC kernel, but not on INSTALL
(among others).  The later is always commented out, leaving the usual black
border as a default.

wsconsctl is modified to allow accessing this value easily.  For example,
'wsconsctl -d -w border=blue'.
2004-07-29 22:29:35 +00:00
jmmv 92f81ea7d3 Implement support to dynamically change wscons console and kernel colors.
Two new ioctls are added to the wsdisplay device, named WSDISPLAY_GMSGATTRS
and WSDISPLAY_SMSGATTRS, used to retrieve the actual values and set them,
respectively (the name, if you are wondering, comes from "message attributes").

A new emulop is added to the underlying display driver (only vga, for now)
which sets the new attribute for the whole screen, without having to clear
it.  This is optional, which means that this also works with other drivers
that don't have this new operation.

Five new kernel options have been added, although only documented in
i386 kernels (for now):
- WSDISPLAY_CUSTOM_OUTPUT, which enables the ioctls described above to
  change the colors dynamically from userland.  This is enabled by default
  in the GENERIC kernel (as well as others) but disabled on all INSTALL*
  kernels (as this feature is useless there).
- WS_DEFAULT_COLATTR, WS_DEFAULT_MONOATTR, WS_DEFAULT_BG and WS_DEFAULT_FG,
  which specify the default colors for the console at boot time.  These have
  the same meaning as the (already existing) WS_KERNEL_* variables.

wsconsctl is modified to add msg.default.{attrs,bg,fg} and
msg.kernel.{attrs,bg,fg} to the display part, so that colors can be changed
after boot.

Tested on NetBSD/i386 with vga (and vga in mono mode), and on NetBSD/mac68k.
No objections in tech-kern@.
2004-07-28 12:34:02 +00:00
tron 317f4e4195 - Remove support for non-VGA and ISA VGA graphic cards.
- Remove ISA attachments for various device (e.g. com(4)) so that the
  ACPI attached devices get the low device numbers.
2004-07-24 15:30:34 +00:00
tron 8849562832 Add new kernel configuration for ACPI based SMP systems which can also be
used to utilize Hyper-Threading.
2004-07-23 17:57:41 +00:00
he 1239ef54cc Add an attachment for ath* at pci, since some laptops have mini-PCI
atheros wireless hardware, such as IBM TP41p and TP40p.
2004-07-23 15:36:00 +00:00
tron ad1499aa47 Enable ehci(4) by default. 2004-07-19 14:23:59 +00:00
atatat f68a9f1ff2 Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
2004-07-15 03:53:44 +00:00
atatat 1ce3b064a0 Make uudecode into a tool that can be used to build a kernel and redo
the athhal-elf.o handling to take advantage of it.  This means that
bsd.files.mk is no longer included by Makefile.i386 so CFLAGS won't be
duplicated.
2004-07-15 03:35:20 +00:00
cube 120187b856 Add commented out EST_FREQ_USERWRITE to GENERIC_LAPTOP too. 2004-07-10 18:52:30 +00:00
cube ca1f4e2485 Add an option to allow any user to write to machdep.est.frequency.target,
which is very handy on a laptop to control EST through another program that
you don't necessarily want to run as root (in my case, gkrellm).

The option's name is EST_FREQ_USERWRITE, and is disabled by default.
2004-07-10 18:51:01 +00:00
bouyer 8e03c54653 Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).
2004-07-09 18:38:37 +00:00
drochner af0dfbe584 don't need md timing functions for joystick anymore 2004-07-08 22:07:47 +00:00
mycroft c8a3263cbf Remove XSERVER and XSERVER_DDB from all config files. wscons does not use
these, and pccons is rapidly heading for the guillotine.
2004-07-06 22:53:36 +00:00
abs 1a06ef7694 Remove accidently added UMASS_DEBUG. Thanks to kimmo for spotting. 2004-07-05 22:30:38 +00:00
christos 0122ef6740 add darwin_commpage_machdep.S [does nothing for now, and the name is too long] 2004-07-04 15:22:03 +00:00
tron 16e9e90a52 Add re(4). There are laptops with an onboard Realtek 8169 Gigabit LAN. 2004-07-04 13:16:56 +00:00
itojun b140dfa763 s/options\t\t/options \t/. (whether UMASS_DEBUG is appropriate for everyone's
GENERIC is a different issue.  i'm not sure)
2004-06-29 04:51:29 +00:00
bouyer 21e9a36edc Add options P1003_1B_SEMAPHORE
to all GENERIC-like kernel config files where SYSV* options were already
present (commented out if the SYSV* options are commented out).
Fix lib/25897 and lib/25898.
2004-06-28 21:07:47 +00:00
martin f142712a67 Add mtd (Myson MTD803 3-in-1 Ethernet) driver. 2004-06-27 16:47:06 +00:00
abs bd8eb3b5ed Add (commented out) ALTQ options to all GENERIC-like files 2004-06-26 07:32:05 +00:00
toshii a9b9fd4313 Add re; Realtek GbE. 2004-06-22 15:18:33 +00:00
itojun 596aec9a47 have pf and pflog pseudo-device (commented out).
reviewed by matt, perry, christos
2004-06-22 14:09:49 +00:00
thorpej 82c52d4891 Add COMPAT_20. 2004-06-20 03:24:04 +00:00
christos c22e4ed8cd ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM 2004-06-18 15:02:29 +00:00
christos 0399e839cf Add pseudo-device ptm on all the generic flavored kernels. 2004-06-16 15:07:39 +00:00
lukem b88c3a1555 Use "options<SPACE><TAB>".
(`egrep -l '(^|[^e])options<TAB>'` is your friend...)
2004-06-14 01:27:59 +00:00
kochi d29c4e62c3 Fix typo:
ACPI = Advanced *Configuration* and Power Interface
2004-06-08 12:46:11 +00:00
kochi 7e55bddc3a Add ACPI_DISABLE_ON_POWEROFF option. 2004-06-07 15:33:52 +00:00
christos ff64927ee9 Don't include the rnd device; it makes us too big. 2004-06-06 07:04:27 +00:00
thorpej e33c2bb5d5 Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.
2004-06-04 04:45:49 +00:00
augustss df613458d1 Use SPC-TAB after the word "options". 2004-06-01 16:29:36 +00:00
christos 5369712097 PR/19925: David Ferlier: Add scrolling support to wscons 2004-05-28 21:44:51 +00:00
christos bf3905ed0c Add ptm device. 2004-05-27 02:57:24 +00:00
tsarna f7fae574cc add uep driver 2004-05-24 23:50:11 +00:00
christos 0b36703edc put back SIZEOF_HEADERS now that bfd is fixed; you will need to recompile
libbfd...
2004-05-23 18:09:44 +00:00
christos d70a6522f9 Use 1024 instead of SIZEOF_HEADERS, so that we can include a note section. 2004-05-22 22:06:54 +00:00
grant e26fd850ec add `scsibus* at umass?' so usb mass storage devices which attach to
sd@scsibus can be used out of the box.

whitespace tweak for wd* at umass?
2004-05-22 03:16:26 +00:00
atatat a1296cdfe4 Whitespace nits 2004-05-21 03:30:40 +00:00
wiz 8785cb8fb1 Add commented out entries for ioat* and nsclpcsio*;
from Sergey Svishchev in private mail.
2004-05-11 23:07:35 +00:00
gendalia ec36bf86ae Uncomment 'wd* at umass?' in GENERIC, add to GENERIC_LAPTOP.
supports the ISD's ATA protocol over Bulk-Only, used with the Archos studio
and Archos Jukebox products, among others.
2004-04-30 17:41:19 +00:00
fredb 2c8270471f - - "options" should be followed by <SPACE><TAB>.
- - restore "options COMPAT_20", no doubt commented out by mistake.
2004-04-30 15:55:10 +00:00
christos b657953b30 Add and document PCIBIOS_LIBRETTO_FIXUP 2004-04-30 02:47:16 +00:00
lukem 59fdcaadf2 add ENHANCED_SPEEDSTEP 2004-04-30 02:08:17 +00:00
lukem 2df026b026 Integrate support for Enhanced SpeedStep Technology (est) that
Michael Eriksson posted to port-i386 on 20031102, with various
modifications by me to work in the new sysctl(9) framework.

The code is enabled with 'options ENHANCED_SPEEDSTEP', and if
the CPU supports EST the following sysctl(8) nodes appear
(with the values that a Dell Inspiron 8600 + WUXGA with a
1.4GHz Pentium M CPU supports):
	machdep.est.cpu_brand = Intel(R) Pentium(R) M processor 1400MHz
	machdep.est.frequency.target = 1400
	machdep.est.frequency.current = 1400
	machdep.est.frequency.available = 1400 1200 1000 800 600

If EST support isn't available, the "machdep.est" sysctl sub-MIB
is not created.

Once we have a more general "CPU frequency" control API we can
migrate this code to using that.

Thanks to Michael Erikkson for providing this code!
2004-04-30 02:05:42 +00:00
gendalia 6c64abac77 add raidframe and raid autoconfig support to the INSTALL kernel. 2004-04-29 20:42:39 +00:00
minoura 3a9e37fe76 Comment out ichlpcib.
There are at least 2 reports that it freezes upon startup.
http://mail-index.netbsd.org/current-users/2004/04/19/0016.html
2004-04-29 11:54:24 +00:00