176036 Commits

Author SHA1 Message Date
reinoud
42dbf4bb33 Elaborate SYNC debug messages and rename some debug messages to a more
proper category.
2008-12-16 10:30:19 +00:00
tteras
50a2f2e6d0 Update README 2008-12-16 06:48:38 +00:00
tteras
b2b7434a10 Fix transport mode address selection in acquire handling.
Some earlier fixes got lost on 2008-12-05 commit.
2008-12-16 06:08:46 +00:00
jakllsch
26f9d336c3 In case the PCI command bits aren't already set, do so before performing
an access that requires them to be.  From KIYOHARA Takashi.
2008-12-16 02:46:47 +00:00
jakllsch
9ff34ac12b Add siisata(4) to the lists. From KIYOHARA Takashi. 2008-12-16 02:14:24 +00:00
cegger
67adcc40e5 cleanup BIOS memmap code:
- get rid of some nested externs
- reduce dependency on global variables
- some preparations for upcoming pmem(9)
2008-12-15 22:20:52 +00:00
mhitch
2c6d71a592 More device_t/softc split fallout, this time in iop(4). Fix from
Juan Romero Pardines.  Tested on alpha by me.
2008-12-15 18:35:48 +00:00
tsutsui
793d8fbd5f Move a pulled up entry of fxp(4) hardware ip4csum-tx bug workaround. 2008-12-15 13:27:13 +00:00
ad
503e396041 More paranoia. 2008-12-15 12:46:28 +00:00
tron
9eff96d745 Keep trying to attach ipmi(4) in the background for five seconds.
NetBSD now detects the IPMI support in a HP Proliant ML110 G4 again.
This fixes PR kern/40065 by myself.
2008-12-15 12:13:46 +00:00
ad
7c89190b50 Start percpu allocation at (ALIGNBYTES + 1) to avoid problem with importing
offset zero to vmem.
2008-12-15 11:59:22 +00:00
ad
c1ef49a66f Back VMEM_ADDR_NULL change. It's too invasive. 2008-12-15 11:42:34 +00:00
ad
b8c27c5dfc Check for VMEM_ADDR_NULL, not NULL. 2008-12-15 11:33:13 +00:00
ad
f9b17a5200 Define VMEM_ADDR_NULL as UINTPTR_MAX, otherwise a vmem that can allocate
a block starting at zero will not work.

XXX pool_cache uses NULL to signify failed allocation.
XXX how did the percpu allocator work before?
2008-12-15 11:29:49 +00:00
ad
50f32f7a93 Put vm_lock into its own cache line. 2008-12-15 10:26:10 +00:00
he
9a3d86109e _DEV_ZERO_oARM is now only defined under COMPAT_16; make this build
after that change.
2008-12-15 09:43:27 +00:00
mrg
b441ddb4e0 restore some old "intrdebug" code, but leave it under NOT_DEBUG. most
of it works, but one that prints func/arg for each handler is not very
stable...

for now, while schizo bus space pointer accesses aren't working, add
a SCHIZO_BUS_SPACE_BROKEN option so you can build a kernel with schizo.

with this, and the prior schizo interrupt fix, you can now fail to run
/sbin/init!
2008-12-15 06:44:56 +00:00
mrg
d991cc1d1e properly calculate the addresses of the interrupt map & clr registers.
now interrupts are working.  but /sbin/init is failing to work over nfs.
2008-12-15 06:30:59 +00:00
mrg
d098511db4 some minor KNF and also DPRINTF pm_flags in sparc_bus_map(). 2008-12-15 06:30:00 +00:00
matt
313f8b7991 Get the gmac driver close to working. 2008-12-15 04:44:27 +00:00
mrg
92a6d92cc8 merge these two files, makes sparc64 sparc/libc work again.
only provide __HAVE_LONG_DOUBLE if _LP64.
2008-12-15 00:25:05 +00:00
pooka
af473973e4 Also assign a value to pmap_extract_p.
(3rd time's the charm, maybe i finally got it right?)
2008-12-15 00:12:54 +00:00
pooka
864681f9a5 Fix another error in sparc pmap_extract_p, as prompted by mrg 2008-12-15 00:10:48 +00:00
elad
f4f1989ae8 PR/39559: Juan RP: veriexec(4): too easy to cause a NULL dereference
through it in kernel

Patch from PR applied with tiny modifications, thanks!

Discussed with blymn@ a while ago.
2008-12-14 23:20:23 +00:00
mrg
15e9690d92 no need for this to use BUS_SPACE_MAP_LINEAR - it uses bus_space properly 2008-12-14 23:13:18 +00:00
elad
48949a2a2a Fix length passed to strlcpy(): we used to get names one character shorter
than reality.

Should be pulled up to netbsd-5.
2008-12-14 23:12:58 +00:00
he
cc040f5992 Bump SYMTAB_SPACE so that it fits again. 2008-12-14 23:07:22 +00:00
pooka
649c12eb68 If the arch uses __BSWAP_RENAME, provide non-namespaced kernel
symbols which just call the libc symbols.  Allows to get rid of
rump machine/bswap.h.

XXX:
1) this is unlikely to work on non-NetBSD
==>
2) should look into including libkern in librump
2008-12-14 19:58:29 +00:00
christos
49e9ba9a6b more KNF and ANSI from Anon-ymous 2008-12-14 18:46:33 +00:00
christos
334f5e8f00 ANSI and KNF from Anon Ymous 2008-12-14 17:03:43 +00:00
wiz
e07f76d158 New sentence, new line. Drop trailing whitespace. 2008-12-14 13:51:33 +00:00
ad
024c36f64b vclean: be paranoid and set v_tag, v_op while holding v_interlock.
FS code could check their values while scrolling through mnt_vnodelist.
2008-12-14 11:15:59 +00:00
ad
31420e7959 - vrelel: fix broken "dead but not clean" assertion. The vnode can be
dead and dirty if cleaning is in progress.
- Add an assertion, fix some text.
2008-12-14 11:13:36 +00:00
macallan
f0655d6400 mention sparc going wscons 2008-12-14 04:31:17 +00:00
macallan
1cbbd12ac0 do as sparc64 does 2008-12-14 03:37:21 +00:00
macallan
b71621c812 wscons here we come!
(finally)
2008-12-14 03:28:51 +00:00
kenh
1d3c0b7c9e Revert changes from revisions 1.3 and 1.4; they make the tsarm platform
fail to boot.
2008-12-14 03:00:59 +00:00
isaki
f9b58c234c Simplify #ifdefs. 2008-12-14 02:21:34 +00:00
isaki
a4144ad62e Remove unused macros. 2008-12-14 02:19:58 +00:00
isaki
5b2d4637e6 Use intio_set_*() macros to purge macros by the name of sysport, ioctlr. 2008-12-14 02:16:51 +00:00
isaki
1c83a96ebb Use mfp_{set,clear}_*() macros to purge macros by the name of 'mfp'. 2008-12-14 02:05:54 +00:00
matt
145d27560e Add the beginning of a driver which supports the on-chip gmac (gigabit)
ethernet port.  It's still being debugged but it attaches and does some
things right.  And a lot wrong.  That's what debugging is for.
2008-12-14 01:57:02 +00:00
matt
d2dce27b37 Rename gpio.h to gpiovar.h. Make the pin routines usable by others
than the gpio code.  (gmac driver needs access to gpio to do mii ops).
2008-12-14 01:55:15 +00:00
jmcneill
00c12be141 Note that the Elantech trackpad support only works for firmware revisions
2.48 and above.
2008-12-14 00:56:14 +00:00
jmcneill
0af0b213b5 Remove debug printfs 2008-12-14 00:53:52 +00:00
jmcneill
201f724e77 pms(4): Add Elantech multi-touch trackpad support 2008-12-14 00:53:09 +00:00
jmcneill
8f9f0cd4d2 Document PMS_ELANTECH_TOUCHPAD option and hw.elantech.* sysctls, bump date. 2008-12-14 00:52:26 +00:00
jmcneill
c2854ab43d add options PMS_ELANTECH_TOUCHPAD 2008-12-14 00:44:29 +00:00
jmcneill
3e8db25945 Add Elantech multi-touch driver. 2008-12-14 00:42:33 +00:00
christos
83d64e1dc1 sort keywords 2008-12-13 23:36:21 +00:00