Commit Graph

149735 Commits

Author SHA1 Message Date
bjh21
6f40b05195 Datestamp the previous entry. 2006-08-19 23:08:02 +00:00
bjh21
2d622fdc89 acorn32: Correctly detect the display refresh rate being used under
RISC OS and look for a matching mode in a list of standard
		video modes.  This removes the requirement for compiling
		RISC OS monitor definitions into the kernel. [bjh21 20060820]
2006-08-19 23:06:11 +00:00
bjh21
d91f74bef1 Now that boot32 can pass in a useful frame rate, it's reasonable to use the
standard video mode list in our example kernels, rather that a somewhat
random subset.  So do that.
2006-08-19 23:01:23 +00:00
bjh21
da29c632f0 Add support to boot32 for passing a real vsync frequency to NetBSD.
Unfortunately, RISC OS doesn't seem to provide a sensible way to ask what
frame rate it's using so we resort to measuring it ourselves.
2006-08-19 22:44:57 +00:00
martin
e5b60f45a3 Do not install bootblocks twice. Suggested by Hubert Feyrer. 2006-08-19 22:41:27 +00:00
bjh21
a296cdc11f When looking for a screen mode at startup, skip any interlaced and
doublescan modes, since vidcvideo doesn't support them.
2006-08-19 22:38:42 +00:00
martin
914384b438 The "request" arg of ioctl(2) is unsigned long, not int!
Sign extended requests do not work on archs with sizeof(long) > sizeof(int).
2006-08-19 21:18:40 +00:00
dsl
db1e1cd15f Add a missing file, I think it something to do with simplified chinese. 2006-08-19 19:13:59 +00:00
macallan
1ab7fe6df2 fix a typo so we actually write sane values into the clipping registers 2006-08-19 17:57:13 +00:00
dsl
79c382f0db There is no need to compile machdep.c with -O2 anymore.
Fixed by changing the asm for lidt() in cpufunc.h
2006-08-19 17:50:56 +00:00
bjh21
63030cca90 If we can't find a screen mode matching the bootloader's frame rate, choose
the nearest one, rather than the first one with the same resolution.  This
is likely to be useful when the bootloader finally passes a valid frame rate.
For now, it just favours flickery over non-functional.
2006-08-19 16:57:06 +00:00
plunky
a643df2f21 Remove reference to btcontrol(8) and clarify mixer(4) 2006-08-19 16:37:26 +00:00
plunky
95d2b886d7 The ubtbcmfw(4) driver fails to compile, as noted by PR kern/34219.
While it can be made to compile, the paradigm is not quite right because
it attempts to contact the filesystem during autoconfig which sometimes
causes a panic. Even if that was fixed, there is another potential problem
in that the driver tries/sleeps/tries/sleeps and the sleep could
theoretically sleep past the rc.d/btconfig stage and the controller
would remain unconfigured.

So, I have prepared a different method for loading the firmware to
Broadcom BCM2033 chip based devices. A package 'sysutils/bcmfw' will load
the firmware files via a ugen(4) device interface.

This update removes the ubtbcmfw(4) driver and adds a table to the ubt(4)
driver so that it will not attach to Broadcom BCM2033 based devices before
the firmware was loaded.

This fixes kern/34219
2006-08-19 16:35:02 +00:00
dsl
a30325d38e de __P() 2006-08-19 16:27:57 +00:00
dsl
c8da0759cd Fix build of machdep.c with -Os and -O3 2006-08-19 16:06:39 +00:00
dsl
f648ce90ee Fix the amd64 INSTALL kernel (builds of machdep.c with -Os and -O3).
Load the idt with non-randmon data.
2006-08-19 16:04:41 +00:00
dsl
52361b12c9 Change the 'asm' pattern for lidt so that gcc4 knows it references memory
and doesn't optimise out the assignments to the descriptor memory area.
i386 kernels now build with -Os (and -O3) applied to machdep.c
2006-08-19 15:21:23 +00:00
yamt
8f01bd288f pool_init: in the case of PR_NOTOUCH, don't bump item size to
sizeof(struct pool_item).
2006-08-19 14:01:15 +00:00
bjh21
9dc302fec2 Arrange things so that if MONITOR isn't defined in the kernel configration,
we use the standard mode list from videomode.c rather than one generated
by makemodes.awk.  This is less useful than it might be since without a useful
frame rate from the bootloader we're likely to end up choosing a screen mode
that's either flickery or too fast for the monitor (or DRAM bandwidth).
2006-08-19 13:34:15 +00:00
tnozaki
4ba9b09748 remove *.mps entry that doesn't exists. 2006-08-19 11:13:18 +00:00
bjh21
72cec93787 The log2_bpp fields of the mode list generated by makemodes.awk weren't
used for anything.  Rearrange things so that it doesn't any more, and
just produces an array of struct videomode.  modedefs.c is looking
suspiciously much like videomode.c now.
2006-08-19 11:01:56 +00:00
tnozaki
2ad099c737 1. added iconv support of Chinese Simplefied encoding, GBK.
2. added Unicode mapping of 2byte GB18030 User Defined Area.
2006-08-19 10:58:40 +00:00
skrll
326bcc171a Add some sysctl knobs to bring us closer to the FreeBSD driver.
Also sysctl enable the debug message printing (if IWI_DEBUG) is defined.
2006-08-19 06:32:52 +00:00
macallan
ea7df82ebc fix some typos, add mmap() support for X
needs options RADEONFB_MMAP_BARS for now
2006-08-19 04:39:32 +00:00
macallan
f5804719cd make this work on macppc.
fixes and caveats:
- will switch to 32bit colour, 8bit support needs some more work
- added support for fonts with widths that aren't multiples of 8
- for now the driver will always try to become system console
- mode switching works but is ugly
- all the acceleration bits work
- X should work with wsfb, mmap() needs some more work
- it still needs a hack to allow wsdisplay_cnattach to be called twice
2006-08-19 04:00:15 +00:00
bjh21
1e6fe5d059 Move calculation of a screen mode's frame rate out of makemodes.awk into
the kernel, removing an element from struct vidc_mode.  The calculation
is a bit pointless at the moment anyway, since both bootloaders pass in
a constant 56, but that might get fixed one day.
2006-08-18 23:25:10 +00:00
martin
5cefff4513 It is "MAKEDEV bpf" nowadays 2006-08-18 21:44:53 +00:00
martin
eed884e62f Remove ISO and NS networking - the eon0 device is pretty confusing
in sysinst. XXX - we actually should remove it from GENERIC too.
2006-08-18 21:37:31 +00:00
dbj
47fc3d392b remove unused files leftover from old postfix distribution which
now cause filename case conflicts on case insensitive filesystems.
2006-08-18 17:45:05 +00:00
yamt
36b78db59e ubc_fault: fix a deadlock in the case of uvm_loanbreak() failure. 2006-08-18 15:03:21 +00:00
hubertf
f83266c2e3 Explain that etcupdate(8) may do the job that postinstall(8) can't
do. (Example: fix master.passwd to include _rwhod and whatnot)

OK'd by lukem@
2006-08-18 12:02:55 +00:00
hubertf
c200fdcc45 give a hint on how to fix the 'NOT FIXED' checks -> fix manually
OK'd by lukem@
2006-08-18 12:01:53 +00:00
martin
2dfd1d809c Fix wrong prom_getoption() return value checks 2006-08-18 11:17:25 +00:00
uwe
dee7f461a0 G/c unnecessary includes. 2006-08-18 02:42:38 +00:00
simonb
3629a0bf92 Mention wpi(4). 2006-08-18 01:04:14 +00:00
uwe
01cddb97a0 Refer sc_font.wsfont explicitly instead of playing cast tricks. 2006-08-18 00:41:57 +00:00
uwe
2799149345 Option -B does not have an argument. Sync getopt string with reality. 2006-08-17 23:42:37 +00:00
bjh21
4513244661 This is kernel-only now, so no need to check _KERNEL. 2006-08-17 22:47:33 +00:00
bjh21
f67b7f40a0 Obsolete <arm/iomd/vidc.h> and its directory. 2006-08-17 22:43:43 +00:00
bjh21
15f26966cb There's no need to expose arm/iomd/vidc.h to userland any more, since
<machine/vconsole.h> has gone now.
2006-08-17 22:38:14 +00:00
bjh21
28d9a9e366 Switch to using the MI struct videomode for storing VIDC video timings.
struct videomode doesn't have a way to record border widths (though I
wonder if VESA's "margins" are the same thing), so we now just treat them
as zero.  Tested on my NC, which still seems to be working.
2006-08-17 22:33:59 +00:00
christos
a49f247028 Don't use || if you need &&. 2006-08-17 22:23:07 +00:00
christos
f06e8d55c6 Revert previous. It is not ready for public consumption. 2006-08-17 22:21:27 +00:00
bjh21
279e0fb4d4 There seems to be no good reason for sfbp(4) to be commented out here, and its
state is breaking alpha builds.  I'll uncomment it and see what breaks.
2006-08-17 22:19:13 +00:00
he
f4ad138e01 Make this build again without OBOE_DEBUG defined (get rid of warnings
about unused variables).
2006-08-17 22:14:38 +00:00
plunky
3445aa6e08 Print the error string on failure 2006-08-17 20:18:23 +00:00
plunky
3762d2c843 always create dictionary entry for local-bdaddr as it is wanted by btdev(4) 2006-08-17 20:16:54 +00:00
plunky
a097328fe5 Add service discovery support for the Handsfree profile 2006-08-17 20:13:31 +00:00
christos
2e4a4ae4c9 Don't use || if you need &&. 2006-08-17 20:06:06 +00:00
christos
11f7a16891 the kernels Arnaud and I used to fix the debugging options. 2006-08-17 19:56:14 +00:00