pk
6446b225e5
prom_getprop(): Make the `element size' argument a size_t (like sparc64).
2004-03-17 10:48:21 +00:00
yamt
a2d33a3097
nfsrv_zapsock: zap an nfsd socket only if it's valid.
2004-03-17 10:43:35 +00:00
yamt
995e6c528b
nfsrv_zapsock: remove slp from nfssvc_sockpending before zapping.
2004-03-17 10:42:37 +00:00
yamt
ec3b565db1
nfs_sndlock: fix nfsd null dereference.
2004-03-17 10:40:34 +00:00
yamt
fd4b77d30f
SHUT_RDWR rather than bare 2.
2004-03-17 10:37:02 +00:00
yamt
639cdf812b
sokvaalloc: unreserve kva if uvm_km_valloc_wait failed.
2004-03-17 10:30:18 +00:00
yamt
82b343cc81
- move kern.somaxkva sysctl stuff from init_sysctl.c to uipc_socket.c.
...
- when changing its value, wakeup sokva waiters.
2004-03-17 10:21:59 +00:00
yamt
097a3aea2e
- fix locking of sosend kva allocation.
...
- some comments.
2004-03-17 10:03:26 +00:00
yamt
2429c10607
remove per-socket pendfree list.
2004-03-17 09:58:15 +00:00
martin
ac3bee274a
Fix hme for pci based sparcs (krups).
2004-03-17 08:58:23 +00:00
martin
c19b13c71b
Adapt to pckbc -> pckbport changes
2004-03-17 08:48:58 +00:00
uwe
dd45c4817c
Comment change only. Add a reminder that if you add new entry to
...
hpckbd_keymap_table, you must make sure that pckbd_keydesctab[] in
sys/dev/pckbport/wskbdmap_mfii.c has a placeholder KB_MACHDEP entry
for the base ht_layout that you refer.
I've stepped on this rakes two times already, with DE and FR keymaps,
so I gather, I'd better add this reminder, if only for myself. :)
2004-03-17 04:34:25 +00:00
uwe
5b0626de75
The platid for Jornada 680/690 with European English (ABB) keyboard is
...
now properly renamed to have the EU suffix.
Enable Jornada 680/690 French (ABF) keymap now that we have a platid
for it (requires updated hpcboot.exe to use).
2004-03-17 04:24:16 +00:00
uwe
853017ec09
Regenerate after platid.def changes:
...
Rename 680HU (Hungarian) to 680EU (European).
Add entries for French and Scandinavian 680/690.
Spell "HP 620LX" with a space, like HP does.
2004-03-17 04:18:38 +00:00
uwe
f11168a748
Rename 680HU (Hungarian) to 680EU (European).
...
Add entries for French and Scandinavian 680/690.
Spell "HP 620LX" with a space, like HP does.
2004-03-17 04:14:08 +00:00
uwe
050ecd0171
Add KB_FR | KB_MACHDEP placeholder. Need it for the Jornada 680/690
...
French (ABF) keyboard layout (to be enabled soon).
2004-03-17 04:09:57 +00:00
jonathan
60f87b2f99
sys/netinet6/ip6_ecn.h is reportedly a FreeBSD-ism; NetBSD has
...
prototypes for the IPv6 ECN ingress/egress functions in sys/netinet/ip_ecn.h,
inside an #ifdef INET6 wrapper. So, wrap sys/netipsec ocurrences of
#include <netinet6/ip6_ecn.h>
in #ifdef __FreeBSD__/#endif, until both camps can agree on this
teensy little piece of namespace. Affects:
ipsec_output.c xform_ah.c xform_esp.c xform_ipip.c
2004-03-17 00:21:43 +00:00
jonathan
c3b09e1e59
Fix key_ismyaddr6() multicast test, as per sys/netkey/key.c NetBSD rev 1.112.
2004-03-17 00:17:45 +00:00
scw
8f5fbb07af
Make this compile again.
2004-03-16 23:58:18 +00:00
pk
aafd051f4f
For now, implement prom_getoption() in autoconf.c.
2004-03-16 23:05:45 +00:00
jonathan
dc6a77862b
Delint ntohl() as argument to a "%lx" format in a log message.
2004-03-16 22:58:54 +00:00
pk
d5ae67c446
Encapsulate retrieval of properties from the global `options' prom node.
2004-03-16 22:55:47 +00:00
jonathan
046d8e371f
#include <net/net_osdep.h>: if INET6 is configured,
...
ipsec_encapsulate() calls ovbcopy(), which is otherwise deprecated.
2004-03-16 22:48:29 +00:00
pk
9166dfe50b
Use prom_getoption() and drop home-grown string-to-integer conversion code.
2004-03-16 22:47:10 +00:00
pk
7489a68403
Encapsulate retrieval of properties from the global `options' prom node.
2004-03-16 22:45:18 +00:00
jonathan
2061ef0c38
Remove the old, inet4-specific versions of PCB_T, PCB_FAMILY, and PCB_SOCKET,
...
and the surrounding #ifndef notyet/#else/#endif which had the removed lines
in the #else branch. The inpcb_hdr versions have been in use for
some time now.
2004-03-16 22:37:46 +00:00
uwe
8c941b849f
Add a few calls to UpdateWindow.
2004-03-16 22:30:36 +00:00
nathanw
263f910569
Do set up the auxpll to the right value (8, to generate 96MHz),
...
because the Au1500 and/or this board's firmware don't have it to the
right value at bootup, as was previously assumed. Makes USB-host work
on the Au1500, and should cause no change on other boards where it
previously "just worked".
Remove some #if 0'd out setting of FREQ0, since it's not currently
used.
2004-03-16 21:20:06 +00:00
bouyer
751597cddb
cbd -> cdb
...
Command Block Descriptor -> Command Descriptor Block
Pointed out by Allen Briggs.
2004-03-16 19:10:43 +00:00
nathanw
6b89d04a4a
The Au1500 doesn't have an i2s interface.
2004-03-16 18:13:45 +00:00
pk
9c0a7ff277
For now, implement prom_getidprom() and prom_getether() in autoconf.c
2004-03-16 13:14:34 +00:00
simonb
98cd2fe77e
Fix an assigned-to-but-not-used variable in the non AHC_ALLOW_MEMIO case.
2004-03-16 05:32:09 +00:00
uwe
501860614d
Add j6x0lcd.
2004-03-16 00:23:31 +00:00
pk
0c91b926ac
Replace myetheraddr() by prom_getether(). Convert the file descriptor to
...
deivce tree node (if possible) to support the "local-mac-address' property.
2004-03-15 23:57:27 +00:00
pk
967492ee53
Replace myetheraddr() by prom_getether().
2004-03-15 23:51:11 +00:00
pk
058057533c
prom_getether() now takes a `node' argument in order to support the
...
"local-mac-address" property.
2004-03-15 23:48:21 +00:00
pk
4bd9e9bb70
prom_getether: support the "local-mac-address" property on network nodes.
2004-03-15 23:46:40 +00:00
uwe
9d8bb20eb3
Use CONFIG_HOOK_POWERCONTROL_LCD to control turning the LCD on/off
...
(the _LCDLIGHT hook is apparently meant to control the LCD backlight).
2004-03-15 23:38:16 +00:00
uwe
e9612620ef
Now that we can control contrast and brightness of the Jornada 680 LCD
...
add KS_Cmd_{Contrast,Brightness}{Up,Down} to default keymaps.
2004-03-15 23:25:09 +00:00
uwe
4b44d3c34a
Change #if 0 protecting the lines with KS_euro to #ifdef KS_euro, so
...
that the keymap definitions are forward-compatible.
2004-03-15 22:49:07 +00:00
bouyer
542c876565
Extract the code printing the CBD from scsipi_print_sense(), so that it's
...
usable in other context.
Use the new scsipi_print_cbd() to dump the command in case of timeout
in siop/esiop.
2004-03-15 22:43:43 +00:00
bouyer
285ce8d78e
Indent.
2004-03-15 22:28:30 +00:00
rafal
7dc96fa92f
Remove references to no-longer-existing options (MIPS3_L2CACHE_PRESENT and
...
MIPS3_5200).
2004-03-15 16:56:55 +00:00
yamt
c12b63c2e0
some comments on cryptic nfsm_ macros.
2004-03-15 11:47:52 +00:00
augustss
26b7762c08
Regen.
2004-03-15 11:16:43 +00:00
augustss
ae2960eaf0
Add some devices. From FreeBSD.
2004-03-15 11:16:23 +00:00
augustss
92bc86cdb6
Add Epson Perfection 1670 scanner
2004-03-15 11:09:23 +00:00
augustss
eaf85ed85e
Regen.
2004-03-15 11:08:53 +00:00
augustss
fd28ddd148
Add Epson Perfection 1670 scanner
2004-03-15 11:08:34 +00:00
augustss
da2d21f6ee
Set the device address before reading the device descriptor.
...
This makes certain non-conforming devices work.
Suggested by Peter Burnett in kern/24716.
2004-03-15 10:35:04 +00:00
minoura
88f55c570c
Fix typo.
2004-03-15 05:31:46 +00:00
uwe
c900434559
Add j6x0lcd(4).
2004-03-15 03:49:14 +00:00
uwe
ef7c82009e
Driver that controls power, brightness and contrast of the Jornada 680 LCD.
2004-03-15 03:45:50 +00:00
uwe
9071e10a46
Support for WSDISPLAYIO_PARAM_CONTRAST.
2004-03-15 03:38:39 +00:00
dyoung
224491add0
Move the ath(4) sysctls to hw.ath from ath.
2004-03-15 03:26:04 +00:00
minoura
17724e2968
Stop the timer explicitly before initialization.
...
Apparently certain BIOS requires this. Noted by yamt.
2004-03-15 01:23:49 +00:00
simonb
55965d25ad
Use "#define<tab>" consistently.
2004-03-14 21:12:08 +00:00
wiz
4fdf521f76
It's extension, not extention. From Miod Vallat (miod at online fr).
2004-03-14 20:11:24 +00:00
chs
cec587ddf6
checkpoint of MP work from dennis and myself. includes cross-processor
...
interrupt framework, a sledgehammer TLB invalidation and misc MP fixes.
doesn't work at all yet.
2004-03-14 18:18:54 +00:00
jdolecek
43bafa5c97
fix typo in comment
2004-03-14 16:47:23 +00:00
minoura
d8b2961a5c
Add ichlpcib.
2004-03-14 14:13:42 +00:00
bjh21
1f2a1581c0
pckbport_machdep_cnattach has replaced pckbc_machdep_cnattach.
2004-03-14 13:54:07 +00:00
bjh21
e972d70350
pckbc_machdep_cnattach has been replaced by pckbport_machdep_cnattach, so the
...
former attribute can be removed.
2004-03-14 13:52:12 +00:00
simonb
899c20a789
Remove trailing blank line.
2004-03-14 13:06:39 +00:00
simonb
15ae71a28c
Call sbmac_start() at the end of the interrupt service function to try
...
to send more packets. Fixes problems with high UDP Tx rates.
Thanks to Matt Thomas for applying clue.
2004-03-14 10:55:45 +00:00
minoura
10cb1fb645
Add ichlpcib.
2004-03-14 08:09:42 +00:00
minoura
b332b550b9
Add Intel ICHn PCI-LPC bridge driver.
...
It is a pcib, but with sysmon watchdog support.
2004-03-14 08:04:38 +00:00
cl
ea5ec0212d
add kernel part of concurrency support for SA on MP systems
...
- move per VP data into struct sadata_vp referenced from l->l_savp
* VP id
* lock on VP data
* LWP on VP
* recently blocked LWP on VP
* queue of LWPs woken which ran on this VP before sleep
* faultaddr
* LWP cache for upcalls
* upcall queue
- add current concurrency and requested concurrency variables
- make process exit run LWP on all VPs
- make signal delivery consider all VPs
- make timer events consider all VPs
- add sa_newsavp to allocate new sadata_vp structure
- add sa_increaseconcurrency to prepare new VP
- make sys_sa_setconcurrency request new VP or wakeup idle VP
- make sa_yield lower current concurrency
- set sa_cpu = VP id in upcalls
- maintain cached LWPs per VP
2004-03-14 01:08:47 +00:00
cl
f1bacc8b38
disable SA upcalls during "systrmsg" sleep
...
-> improves problem from PR bin/23429
2004-03-14 00:48:58 +00:00
cl
63fe298156
regen after:
...
g/c sys_sa_unblockyield which has been unused since 2004/01/02
2004-03-14 00:47:25 +00:00
cl
919b9e33c4
g/c sys_sa_unblockyield which has been unused since 2004/01/02
2004-03-14 00:45:21 +00:00
thorpej
4e473186db
Use scsipi_adapter_minphys().
2004-03-14 00:17:37 +00:00
bjh21
759fb56651
Convert to use pckbport infrastructure -- another file I missed on the first
...
pass.
2004-03-13 23:03:43 +00:00
bjh21
95cdc0362c
Add pckbport attribute, and apply it to pckbc. Somehow I missed this file
...
in the main commit of pckbport. *blush*
2004-03-13 22:45:23 +00:00
dsl
ae7b924322
Translate ascii keycode to help those with azerty keyboard type straight.
2004-03-13 22:41:37 +00:00
dsl
3d9e66400a
Add a short key translation map for the boot code.
...
Usage:
cp = strchr(bp->bp_keymap, c);
if (cp != 0 && cp[1] != 0)
c = cp[1];
2004-03-13 22:40:51 +00:00
bjh21
2e5eabeef4
Remove opms and wsqms on acorn32.
2004-03-13 19:52:53 +00:00
bjh21
f22e7b01a3
NetBSD/acorn32 no longer has busmouse(4), so remove <machine/mouse.h>.
2004-03-13 19:45:11 +00:00
bjh21
e4247411fe
Rename wsqms(4) to qms(4), since the "ws" is redundant now. While I'm here,
...
bundle it all into a single file, qms.c, replacing wsqms.c, wsqms_iomd.c,
and wsqmsvar.h.
2004-03-13 19:27:40 +00:00
bjh21
7974064199
Remove qms and opms.
2004-03-13 19:24:31 +00:00
bjh21
0d2fbdc9ee
Add part of iomdkbc(4) that I missed last time.
2004-03-13 19:23:36 +00:00
bjh21
b8d9d01177
Rename arch/acorn32/dev/wskbdmap_mfii.c to arch/acorn32/dev/wskbdmap_mfii_rpc.c
...
to avoid config(8) confusion with dev/pckbport/wskbdmap_mfii.c.
2004-03-13 19:20:50 +00:00
matt
311f70b5ad
Add COMPAT_LINUX and enable NULLFS.
2004-03-13 18:51:43 +00:00
bjh21
e63a7e9215
Remove support for freezing console on mouse-button presses, since that was
...
dependent on the old qms(4) driver, which is gone.
2004-03-13 18:48:26 +00:00
matt
879040549d
Only do the pmap_procwr if the uvm_io succeeded.
2004-03-13 18:43:18 +00:00
bjh21
497fe37693
Remove busmouse(4) drivers. Everyone should be using wsmouse(4) these days.
2004-03-13 18:29:34 +00:00
bjh21
21d0142c1d
Remove all use of busmouse(4), instead using wsmouse everywhere, even in
...
kernels that don't use wscons otherwise. The X server released with 1.6
should be able to cope with this.
2004-03-13 18:25:25 +00:00
bjh21
db7410bc83
Remove pointless comments
2004-03-13 18:06:41 +00:00
bjh21
33be6cb335
Add support for iomdkbc, pckbd, and pms. Don't enable pckbd in any default
...
config because the X server shipped with 1.6 didn't support it, and it seems
rude to break people's X servers when they upgrade their kernels.
2004-03-13 17:59:00 +00:00
ragge
0281fed145
Add dge.
2004-03-13 17:54:38 +00:00
bjh21
a3b1962334
Add iomdkbc and iomdiic.
2004-03-13 17:53:05 +00:00
bjh21
f869418166
Add support for using the MI pckbd and pms drivers with the IOMD keyboard
...
and mouse ports, with a new driver, iomdkbc(4).
2004-03-13 17:52:02 +00:00
bjh21
abb6d5d13a
Add pckbport.
2004-03-13 17:46:45 +00:00
bjh21
dff5222d3a
Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
...
drivers that attach to it. This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111. The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers. To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.
In theory, this shouldn't cause any behavioural changes in the drivers
concerned. Thy just use rather more function pointers than before. Tested
on i386 and (with a new host driver) acorn32. Compiled on several other
affected architectures.
2004-03-13 17:31:33 +00:00
bjh21
3d0535f928
Remove needless includes of <dev/pckbc/wskbdmap_mfii.h>.
2004-03-13 17:23:32 +00:00
cube
cd4928d8c7
The D-Link DFE-670TXD can appear with two different vendor IDs for the MAC
...
address. The two IDs belong to D-Link. Therefore, add a duplicate entry
with a matching vendor ID.
Reported and tested by syn at sceen dot net.
2004-03-13 15:09:16 +00:00
matt
e03259960d
Fix some gcc3 uninitialized variables.
2004-03-13 07:22:21 +00:00
jmc
d58ac80c5e
Set some defaults where gcc can't follow the interrupt code
2004-03-13 07:05:54 +00:00
dyoung
4ccb1f5236
Add a 'tags' target to macppc.
2004-03-13 05:55:40 +00:00
dyoung
a0e5ea5bcb
Enable extended channel set.
...
Add some debug code for printing the HAL's notion of available
channels if hw.ath.debug = 1.
2004-03-13 05:43:08 +00:00