Commit Graph

175956 Commits

Author SHA1 Message Date
mrg f4cdd8a3bc remove unused variable. 2008-12-13 05:54:57 +00:00
alc 0a5dd2a285 Restore a valid call to ath_hal_wait() and wrap the if() statement with curly bracket.
Fix build wrt the original HAL, prevent the next call to OS_REG_WRITE() to be skipped
if HALDEBUG() is not defined.

pointed out by <sam>
2008-12-13 05:16:28 +00:00
mrg 6a475604d6 - enable schizo_dmamap_create() after fixing it
- clean up some debug code
- remove unused schizo_intr_map()
- setup our iommu state properly
- for now, implement a 'struct schizo_iommureg' and use it in schizo.
  XXX this should be merged with iommu*

interrupts are still not working but we get to scsi probe now.
2008-12-13 04:56:32 +00:00
mrg 5fe53803ec DPRINTF() the new protection in sparc_bus_map() 2008-12-13 04:53:09 +00:00
dholland 2adcd1a3c2 Don't deadlock on rename("foo/foo", "foo") in the case where foo/foo is a
directory. This doesn't affect non-wapbl renames; it affects wapbl because
one of the lock acquisitions was moved up past where this case otherwise
fails.

PR 40163 from Lloyd Parkes.
2008-12-13 04:45:28 +00:00
mrg 223aed87aa if the "interrupt-map-mask" property is larger than the static 100 int
array, dynamically allocate the desired size and try again.

fixes crashes in OF_mapintr() when there are 102 entries.
2008-12-13 04:44:38 +00:00
isaki b3a08741f8 Fix a broken 'Front power switch' signal.
Use softint(9), instead of using psignal(9) in
hardware interrupt.  Thanks to soda-san.
2008-12-13 02:49:10 +00:00
njoly b4f0a0e86c +tabs.debug 2008-12-12 23:49:28 +00:00
njoly 6b9fe0233d Regen for clock_nanosleep. 2008-12-12 23:38:13 +00:00
njoly 99688b74d2 Add clock_nanosleep syscall. 2008-12-12 23:36:18 +00:00
christos 47b2a9219c document svc_getrpccaller 2008-12-12 23:22:26 +00:00
christos 809d48d0cb back emalloc out, I don't want it. 2008-12-12 23:10:08 +00:00
christos 56a682bfb8 - handle memory allocations gracefully using e-functions instread of
core-dumping.
- if the display is too small bail out.
2008-12-12 23:09:08 +00:00
lukem 65288d6d2c nvi expandtab 2008-12-12 23:07:47 +00:00
lukem e7617fb9ab Bump the version to ""nvi-1.81.6nb1" for NetBSD changes:
expandtab
	gtagsmode
	matchchars
	WARNS=4

Per discussion with Christos.
2008-12-12 23:05:36 +00:00
lukem 534002bc26 Implement "expandtab" option:
expandtab, et [off]
          Prevent the use of <tab> characters in leading whitespace when
          shifting text, autoindenting, indenting with <control-T>, or
          outdenting with <control-D>.
2008-12-12 22:55:55 +00:00
christos c8164f5d15 RTAX_GENMASK and RTAX_AUTHOR could cause kernel memory corruption because
info struct members could be pointing to free'd memory. Fix from dyoung.
XXX: Pullup to 5.0
2008-12-12 22:34:58 +00:00
christos bc71c61926 Bring in our changes:
- netbsd specific support
	- header files
	- our ioctls to get/set bssid and ssid
- use __FUNCTION__ instead of __func__
- correct handling of interfaces appearing and dissappearing, fixing
  unreached code!
- debugging messages for event changes
- keep a local copy of the interface status so that we can tell if we
  have notified wpa_supplicant yet about the interface change or not.
XXX: There was a byte swapping line that I commented out and I am not
sure if it is correct.
2008-12-12 21:44:54 +00:00
christos 04fb6a55d2 don't need this anymore. 2008-12-12 21:41:04 +00:00
alc c3d9f7dbb1 Don't display the global kernel symbol `version' but the *eeprom* version, as done in the original code. 2008-12-12 21:31:49 +00:00
cegger 9d34af294b make i386 ALL kernel compile 2008-12-12 21:01:59 +00:00
hubertf 071bad8613 Move the build of libXi back to a point where libXext is definitely
built (i.e. behind the next .WAIT).

Suggested by veego@, tested successfully on the netbsd-5 branch on Solaris 10/x86
2008-12-12 19:59:52 +00:00
pooka de62974531 Do some nasty manual tricks and treats to avoid having to call
rump_init() here (creating threads before we ask p2k to detach from
console is bad).
2008-12-12 19:59:00 +00:00
pooka a75f7c7343 Close write-end of daemonpipe in reader to get EOF if the writer
goes awol.
2008-12-12 19:56:12 +00:00
pooka 710e4c1a30 Defer ukfs (and hence rump) init until after detaching from console.
Otherwise forking when detaching will nuke our potential precious
threads.
2008-12-12 19:50:27 +00:00
pooka 33a0d776c1 Add puffs_cancel(), which allows to back down after puffs_init()
and before puffs_mount().
(this should actually be integrated with puffs_exit(), but that
routine is currently so non-sensible that I didn't bother now)
2008-12-12 19:45:16 +00:00
pooka 41f31dac6d add:
puffs_setspecific(pu, private)
	Can be used to set the specific data after the call to
	puffs_init().
2008-12-12 18:59:53 +00:00
macallan 25f1a62f67 some cleanup, add shadowfb support 2008-12-12 18:52:40 +00:00
macallan 2a1ee97a2a device_t-ify 2008-12-12 18:50:13 +00:00
macallan fc934dfa9a fix stride value returned by /dev/fb 2008-12-12 18:48:25 +00:00
pooka 0d12ba9def Add a few MD ifdefs into the rump pmap stubs to enable us to get
rid of the local pmap.h and unify the pmap ABI with the kernel.
(XXX: compiles but doesn't work on vax)

Thanks once again to Greg Oster for helping with testbuilds.
2008-12-12 18:46:43 +00:00
macallan 20dab5963b device_t-ify 2008-12-12 18:46:41 +00:00
macallan 39ebde40e1 device_t-ification 2008-12-12 18:39:55 +00:00
macallan 302ae8fed9 add display type for Fujitsu AG-10e (oops) 2008-12-12 18:35:12 +00:00
pooka e27fd72e89 this header needs machine/cpuset.h 2008-12-12 18:16:58 +00:00
matt 1cb076635d Fix merge botch from april... 2008-12-12 18:13:55 +00:00
matt ce637ca878 CFATTACH_DECL -> CFATTACH_DECL_NEW 2008-12-12 17:36:14 +00:00
haad bc330923c1 Resolve conflicts created by import of lvm2tools-2.02.43. 2008-12-12 11:55:05 +00:00
haad 4726d09dbc Import of latest version of lvm2tools version 2.02.43. In this release
libdevmapper 1.02.29 release was merged by RedHat into the
lvm2tools repository.
2008-12-12 11:42:51 +00:00
haad 890ef417e2 Import of latest version of lvm2tools version 2.02.43. In this release
libdevmapper 1.02.29 release was merged by RedHat into the
lvm2tools repository.
2008-12-12 11:42:50 +00:00
haad 2acd41c7f8 Import of latest version of lvm2tools version 2.02.43. In this release
libdevmapper 1.02.29 release was merged by RedHat into the
lvm2tools repository.
2008-12-12 11:41:40 +00:00
tonnerre 3fd167219b Remove { 0, 0 } from the list of u3g devices. This entry is no longer
required in modern device lists due to sizeof() tricks. However, keeping
it makes u3g attach to HP ServerWorks mice and keyboards.
2008-12-12 07:49:46 +00:00
jmorse beb501f394 PR#39651
Fix two problems in umass:
 * usb xfers being freed before being removed from pipe, leading to null deref
 * config_activate requests not supported, which leads to config_deactivate requests not being passed through. Spotted by jmcneill@

Added mechanism to usbdi allowing the default pipe to be aborted
2008-12-12 05:35:11 +00:00
alc 0107bf153f include standard HAL option.
Fix build breaks reported by Paul Goyette on current-users@
2008-12-12 03:28:57 +00:00
veego 09f821d215 Do not enter all the lib/* directories here, only enter lib, because
lib/Makefile has the correct order and .WAIT stop points.
There is no point in duplicate the correct order here too.
I should have commited this change, when I fixed the order in lib/Makefile
2008-12-11 20:40:19 +00:00
pooka 58742275be rcs id police 2008-12-11 19:33:12 +00:00
pooka ea4b11acd2 Since oea pmap.c is #included many times, put kernel_pmap_ptr into
its own source module to avoid multiple initialized data definitions.
2008-12-11 19:30:14 +00:00
seanb 914c0c04ad - Malformed multicast option not being checked
for correctly.  Could fault client.
- 'mc' (master client) field not being examined
  properly.  Actually looking at addr field so
  proably always working out to non 0 (master).
2008-12-11 18:40:02 +00:00
hauke b44c2acbc7 I tested spif(4) in an Ultra 1 - enable it. 2008-12-11 17:18:03 +00:00
pooka 0e6117b96f Apparently some ports rely on cpu.h including machine/pcb.h. 2008-12-11 16:25:23 +00:00