Commit Graph

149723 Commits

Author SHA1 Message Date
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
plunky
47a52241bf Replace static 'FreeBSD' string with operating system name gleaned
from uname(3)
2006-08-17 19:46:57 +00:00
christos
35ca6c8b5b Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!
2006-08-17 17:11:27 +00:00
jnemeth
a0cb2a839d don't include program name when calling err() 2006-08-17 10:03:53 +00:00
jnemeth
335cb46309 PR/34218 -- Matt Fleming -- date hangs when root trys to set time
backwards while at securelevel >= 2
2006-08-17 09:59:55 +00:00
jld
1a62815660 vnode_if.src says that VOP_POLL's vnode is unlocked, and has said so
since 1998; adjust the man page to reflect that.
2006-08-17 04:38:27 +00:00
macallan
4c36dff3e4 include openfirmio.h when needed 2006-08-17 03:50:21 +00:00
reed
8e5c0d9d4d Mention the VESA frame buffer display for i386.
Add definitions for WSDISPLAYIO_SSPLASH and
WSDISPLAYIO_SPROGRESS.

Add i386/vesafb(4) to SEE ALSO.
2006-08-17 02:00:09 +00:00
reed
4eda374899 Shorten one-line description.
Add a few more kernel configurations to synopsis.

Mention wscons and wsdisplay.

Describe the kernel options.

Add SEE ALSO section.

Mention about VESAFB_PM hanging systems.

Review by jmcneill on tech-kern list.
2006-08-17 01:58:26 +00:00
rpaulo
4381b9dc9b Revert previous. 2006-08-17 01:42:57 +00:00
rpaulo
d7a463a8aa Adapt to ECN. 2006-08-17 01:32:13 +00:00
gdamore
0d7e99a27a Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software.  ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!
2006-08-16 22:46:44 +00:00
bjh21
64e85b48bf Fix an obvious typo. 2006-08-16 22:09:12 +00:00