Commit Graph

8953 Commits

Author SHA1 Message Date
christos
9434c99ee1 more bogus number removal 2013-04-27 22:21:12 +00:00
christos
1cc8b68d4b the bogus number police 2013-04-27 21:43:10 +00:00
christos
dc14ae835f remove confusing numeric locators where they are unused. 2013-04-27 18:19:19 +00:00
riz
fdd7809702 Sync DKWEDGE options with XEN3_DOM0. 2013-04-17 00:09:04 +00:00
christos
37ddcb991e de-duplication police arrests sysctl. 2013-04-12 16:59:38 +00:00
christos
caafbf4e1b add missing SSIZE_MIN 2013-04-11 00:57:34 +00:00
martin
3483f2dc48 Add athn 2013-04-06 16:57:32 +00:00
para
3964c3f0c8 i386 pmap.h got a forward declarition for vm_map from systm.h
insert a forward declaration
2013-03-18 16:32:32 +00:00
yamt
2a656f64f2 update help 2013-03-06 11:34:37 +00:00
christos
2c1aa36c3d Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it. 2013-03-02 02:42:07 +00:00
joerg
e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
khorben
75c88a7f14 Added wpi(4) to the XEN3_DOM0 kernel for both amd64 and i386
Tested on a Lenovo ThinkPad T60 2007 (amd64)
2013-02-09 17:42:34 +00:00
bouyer
9c6e8a9747 Put back 32k MAXPHYS, reverting
http://mail-index.netbsd.org/source-changes/2013/01/19/msg040666.html

64k MAXPHYS breaks at last iso9660, as shown by periodic anita runs at
http://www-soc.lip6.fr/~bouyer/NetBSD-tests/xen/
2013-01-24 13:58:40 +00:00
jakllsch
754f8600b7 xbd has been able to cope with any value of MAXPHYS since
src/sys/arch/xen/xen/xbd_xenbus.c 1.56
2013-01-19 16:19:55 +00:00
skrll
e1c783a7a6 Add some usb devices. 2012-12-27 14:39:39 +00:00
mbalmer
5e4172b4ba Whitespace fixes. 2012-12-25 10:51:03 +00:00
mbalmer
50b3b570e2 Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals.  The driver
provides a gpio(4) device with three pins:  pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.
2012-12-17 20:37:59 +00:00
mbalmer
987e0969bd Add ptcd(4). 2012-12-16 18:52:17 +00:00
mbalmer
21a6d3b7f6 ptcd(4) is a device driver for the cash drawer port found on Protech PS3100
point of sale terminals.  It controls the cash drawer using a gpio(4) device
that attaches at ptcd0:  Pin 0 controls the drawer, pin 1 reports the current
state.  For details read the manual page.
2012-12-16 13:09:18 +00:00
dholland
a4350943e1 whitespace 2012-12-10 02:03:45 +00:00
jakllsch
592ed87a82 "lapic.h" provides NLAPIC, not LAPIC. makes i386 kernels build again. 2012-12-08 14:40:10 +00:00
kiyohara
a661216555 #ifdef - #endif-ed. NMCA, NISA, NNPX, NIOAPIC, LAPIC, MPBIOS and MULTIPROCESSOR. 2012-12-08 12:36:30 +00:00
msaitoh
54a1d94980 Fix off by one. 2012-12-07 04:49:08 +00:00
christos
0a1df22000 Intel Atom E600 PCI-LPC bridge, adds a watchdog + HPET support. Tested
on a Soekris net6501. (jmcneill)
2012-12-05 16:19:46 +00:00
alnsn
a7aa627f8a Disable generation of fastcall functions on i386. 2012-11-18 14:39:42 +00:00
chs
f5b8ae644b bump VM_PHYSSEG_MAX to 32, we've seen a system where 16 wasn't enough. 2012-11-13 14:10:24 +00:00
cherry
d204c4c45c Remove e a redundant layer of function calling in the event handling path 2012-11-10 16:28:06 +00:00
alnsn
ffd8736098 Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386. 2012-11-05 00:57:39 +00:00
alnsn
0cae5cae2f Build bpfjit on i386. 2012-10-28 16:25:02 +00:00
chs
cbab9cadce split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
2012-10-27 17:17:22 +00:00
chs
1eddef034c in osyscall, set the PSL_I bit into the correct field of the trapframe.
it was going into tf_eip instead of tf_eflags, which would sometimes
corrupt %eip and always return to user mode with interrupts disabled.
this was found with a netbsd 1.0 binary, and dsl@ points out that
this should also fix PR 41342.
2012-10-26 14:46:44 +00:00
dyoung
9496624c30 Run $(TOOL_CTAGS) instead of ctags: sometimes it's better than the host's
native ctags, and it's nice to have consistent ctags from one host to another.
2012-10-23 16:08:12 +00:00
apb
f3929b106b Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
2012-10-17 14:48:07 +00:00
dsl
4911d2e6ef Remove all references to KVM86.
It was only ever used by APMBIOS - and then only if an option was selected.
Probably didn't work well at all!
2012-10-03 18:58:30 +00:00
dsl
9ddf6f9c74 apmcall.o no longer exists. 2012-10-01 17:35:57 +00:00
dsl
1f29bb23a2 Remove some definitions that were part of the APM bos interface. 2012-10-01 17:30:39 +00:00
dsl
85d5310461 Delete some not-used APM offsets 2012-10-01 17:26:41 +00:00
dsl
5eb5222cc8 Remove code from dev/apm/apm.c for setting global variables to parameterise
the i386 bios apm code (now removed).
Remove the same code from the clone dev/hpc/apm/apmdev.c
Remove some not-used options from dev/apm/files.apm and the commented out
  lines in ALL and GENERIC.
Maybe the APM_V10_ONLY and APM_NO_V12 could also be shot, but they are
  further entwined in the code.
2012-09-30 21:36:18 +00:00
dsl
c22ade8a26 Fix build.
I've removed 'option apmbios' so config no longer generates apmbios.h
Not to be confused with dev/apm/apmbios.h :-)
2012-09-30 20:54:52 +00:00
dsl
e727babbeb Remove the obvious parts of i386 Advanced power management 'apm' support.
This is the code that predates ACPI, and might once have been able to
  power down some laptops.
It hasn't been compiled for ages (it isn't it i386/ALL or any other
  standard kernel) and hasn't worked for even longer.
The APM specification was made obsolete by ACPI before it was widely
  implemented.
This will allow some other, even more dubious code be removed.
Unfortunately apmbios.h is used by the world !
2012-09-30 20:19:51 +00:00
alnsn
5c5a76d566 Remove bpf_jit which was ported from FreeBSD recently.
It will soon be replaced with the new bpfjit kernel module.
2012-09-27 18:28:53 +00:00
khorben
1c91c96277 Enable support for synaptics touchpads when running Xen as domain 0; helps
usability on laptops. Fixes PR port-xen/44055.

ok bouyer@ riz@
2012-09-24 23:13:36 +00:00
chs
ebb8f1a4a1 add vmt entry to GENERIC.
standardize commented pfsync and npf entries.
2012-09-23 01:05:21 +00:00
chs
776e812c0f add some more devices and options. 2012-09-23 01:03:39 +00:00
chs
faa1403954 sync ldscripts; add cacheline_aligned and read_mostly handling
to the non-default ones.
2012-09-23 01:01:17 +00:00
cherry
5638e4cc1f Restrict export of the tmpgdt symbol to XEN kernels
Spotted by uwe@
2012-09-01 23:19:46 +00:00
jakllsch
ec5ba90796 Rename RT2500USB driver to ural(4) as it was originally in OpenBSD,
as ural(4) and ral(4) do not actually share any code.

Enable ural(4) in hpcarm WZERO3 kernel too, as it will now build.

Fixes PR#43520.
2012-09-01 18:17:49 +00:00
rmind
485da0c75c tlbflushg/i386: test for the PGE feature flag first, before checking the %cr4.
Add a comment explaining why need to check both and in such order.
2012-08-29 22:43:35 +00:00
dholland
88e5e5374b Make extern decl of trap_type[] match the definition.
(XXX: this should be in a header file)
2012-08-24 05:54:30 +00:00
abs
3267a6b9fe Update all kernel configs mentioning WSEMUL_* but not already including
WSDISPLAY_COMPAT_USL using the following rules:
- If WSEMUL_ is commented out, add commented out out WSDISPLAY_COMPAT_USL
- If INSTALL or obviously memory constrained, add WSDISPLAY_DEFAULTSCREENS=1
  and commented out WSDISPLAY_COMPAT_USL
- Otherwise add WSDISPLAY_COMPAT_USL

Some of the INSTALL configs for larger memory machines are probably suitable
for adding WSDISPLAY_COMPAT_USL.

Now wsconscfg(8) should be able to switch VTs when expected.

Implemented after no objection from tech-kern to the following:

On 5 June 2012 09:47, David Brownlee <abs@absd.org> wrote:
> wsconscfg(8) requires WSDISPLAY_COMPAT_USL in order to switch virtual
> terminals.
>
> Except when in an exceptionally memory or space constrained
> environment (INSTALL being the obvious case), is there any reason why
> all GENERIC and GENERIC-like kernels which have wscons enabled
> shouldn't also have WSDISPLAY_COMPAT_USL?
2012-08-17 20:11:37 +00:00