Commit Graph

40857 Commits

Author SHA1 Message Date
yamt 5923204be0 fix a race by re-checking req_prod when exiting main loop. 2005-07-19 12:20:29 +00:00
yamt 01fa457bff xen_shm_unmap:
- don't try to remove a request twice.
- fix spl/splx mismatch.
2005-07-19 11:09:52 +00:00
yamt 4ff72cab3e xbdback_co_main_loop: don't forget to set xbdi->cont in the case of error. 2005-07-19 09:45:12 +00:00
augustss 94b0c8c5b7 Add uipaq driver. 2005-07-18 12:02:21 +00:00
he d3fc666f98 Make tlp_idle() not be static, so that the newsmips version of the
driver can access that function again.

Approved by thorpej
2005-07-17 18:11:36 +00:00
augustss 57ffd27623 Remove obsolete comment about ehci. 2005-07-17 14:53:56 +00:00
tls 0ac3367f2a Improvements to xbdback (the domain 0 driver that provides "xbd" virtual
disks to other domains) from Jed Davis, <jld@panix.com>:

	* Issue multiple requests when necessary rather than
	  assuming that arbitrary requests can be mapped into single
	  contiguous virtual address ranges.

	* Don't assume that all data for a request is consecutive
	  in memory.  With some client OSes, it's not.

	The above two changes fix data corruption issues with Linux
	clients with certain filesystem block sizes.

	* Gracefully handle memory or pool allocation failures after
	  beginning to handle a request from the ring.

	* Merge contiguous requests to avoid the "64K turns into 44K + 20K
	  and doubles the transactions per second at the disk" problem
	  caused by the 11-page limit caused by the structure of Xen
	  ring entries.  This causes a very slight performance decrease
	  for sequential 64K I/O if the disk is not already saturated with
	  requests (about 1%) but halves the transactions per second we
	  hit the disk with -- or better.  It even compensates for bizarre
	  Linux behaviour like breaking long requests up into 5.5K pieces.

	* Probably some stuff I forgot to mention.

Disk throughput (though not latency) is now much, much closer to the
"raw hardware" case than it was before.
2005-07-17 08:23:43 +00:00
christos 210844e5e7 Increase the default datasize limit to 2GB. 2005-07-17 05:29:54 +00:00
hubertf 673730506c Add support for reading cloop2 compressed filesystem image,
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
2005-07-17 00:08:27 +00:00
wiz beb8063c6a Remove duplicate IPSEC_NAT_T line introduced in previous. 2005-07-16 23:20:00 +00:00
christos 15d0a3d10e Say what sbp is. 2005-07-16 22:54:34 +00:00
macallan 4adcd89999 added dbri audio driver 2005-07-16 19:02:45 +00:00
macallan 3f858509a1 add dbri audio driver 2005-07-16 19:00:39 +00:00
uwe 065e2422b3 Match HP 620LX. Tested by Christer Andersson.
XXX: platid_mask_MACH_HP_LX also matches 360LX.  It's not confirmed
whether touch panel in 360LX is connected in the same way.  We may
need to regroup platid masks.
2005-07-16 16:36:23 +00:00
grant c48841dcc1 fix typo in comment 2005-07-16 01:54:27 +00:00
he 14bbdadd3d The ANSIfication unconvered that we were calling devlookup() with
an extra argument.  It seems to be correct just to drop the last arg.
2005-07-15 23:15:00 +00:00
he bc29f36ac6 The new function name is (for now, I gather) config_found_sm_loc(),
and not config_found_sm().
2005-07-15 23:10:36 +00:00
christos af815c7633 propagate martin's fix in the syscall_plain version. It does not make any
sense to print the syscall return part of syscall debug when we did not
print the syscall enter portion.
2005-07-15 13:38:08 +00:00
martin 949b9f4b51 Ooops, gcc was right - *ap could have been used uninitialized (when
getargs() failed) - pointed out by Juergen Hannken-Illjes.
2005-07-15 12:34:46 +00:00
yamt 1eb847c433 evtchn_do_event: enable interrupts while calling interrupt handlers. 2005-07-15 09:16:23 +00:00
martin 9295914697 Shutup gcc - it eroneously thinks *ap might be used uninitialized. 2005-07-15 09:00:15 +00:00
yamt cdc5b954fc include cardbus/pcmcia.
XXX 32bit cards don't work due to the way how xen handles
pci configuration space.
2005-07-15 07:56:22 +00:00
christos 6388180b87 make this compile again. 2005-07-14 12:35:08 +00:00
wiz 4351be5dd1 Fix typo in comment, from Nicolas Joly in PR 30743. 2005-07-14 11:59:53 +00:00
kiyohara f269226eb8 obsolete fwiso. 2005-07-13 17:09:33 +00:00
christos 4b7fea5dd1 Handle the case where systrace is used in 32 bit emulation on a 64 bit system.
In this case, systrace may modify the arguments to the syscall, so we need
to copy them back. Restructuring the code a bit avoids an unnecessary argument
copy loop in the regular case.
2005-07-13 15:16:39 +00:00
macallan 2d61a640d4 fixed a glitch that would trigger a warning when compiled without tctrl.
Doesn't make much sense since tctrl is on the same chip but anyway.
2005-07-13 01:42:06 +00:00
uwe 75d8bdf000 XXX: kludge around constification fallout.
No way I'm dealing with constification of C++ code!
2005-07-12 23:21:54 +00:00
christos 8fac7adf53 change trapframe to trapframe64 in the md_syscall prototype to fix 32
bit kernel builds.
2005-07-12 21:13:14 +00:00
sekiya f71fdbe340 Add config goo for ath. Tested with a PCI card, detected as:
ath0 at pci0 dev 10 function 0
	ath0: interrupting at ioapic0 pin 17 (irq 5)
	ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
	ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
	ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36M bps 48Mbps 54Mbps
	ath0: mac 5.9 phy 4.3 radio 3.6

Cardbus untested, so it is commented out.
2005-07-12 20:22:45 +00:00
martin e14ba58310 When returning 64bit values (from netbsd32_lseek) fix up the return
value vector (of 32bit values, most likely) via a MD macro.
2005-07-12 15:06:17 +00:00
he a3607bd3a5 This port also needs it's own sunos_machdep.h. 2005-07-12 13:41:34 +00:00
kiyohara c1a84a4d12 ieee1394 import from FreeBSD. 2005-07-11 15:29:05 +00:00
martin f9f7a9ee11 Make sure we get the SUN4U version of the sparc frame.h defines.
(Otherwise frame32 is undefined and compilation of the netbsd32 lkm
fails.)
2005-07-11 15:03:56 +00:00
christos 2f382743c1 Add m68k sunos_machdep.h 2005-07-11 13:13:56 +00:00
christos 3e061b04ef new file 2005-07-11 13:05:33 +00:00
uwe 51d0cd96db Implement syscall_intern for sh3. 2005-07-10 22:27:20 +00:00
christos 61a46bc6b1 pass the code out of getargs, so that ktracing __syscall using syscalls
works.
2005-07-10 19:05:47 +00:00
christos f1f78efdd1 Now that sparc has syscall intern, no need to define it here too. 2005-07-10 17:02:51 +00:00
christos aed9aed801 - add syscall_{plain,fancy}
- make it use mi_userret
2005-07-10 17:02:19 +00:00
uwe b044b5b620 Cosmetic: drop leading underscores from the volatile keyword. 2005-07-10 16:24:29 +00:00
uwe 496eb1f350 Cosmetic: use uintN_t, drop leading underscores from the volatile
keyword, use extern in function declarations.
2005-07-10 16:21:01 +00:00
martin 17668059a3 Add siginfo based signal delivery. 2005-07-10 16:15:19 +00:00
macallan d091c8c1bb added Tadpole TS102 SBus-PCMCIA bridge driver (tslot) and a couple of PCMCIA card drivers 2005-07-10 15:49:12 +00:00
macallan 8d4c3dfddd added Tadpole TS102 SBus-PCMCIA bridge driver (tslot) 2005-07-10 15:47:37 +00:00
martin d6c7a12fb5 Fix COMPAT_NETBSD32 ucontext padding and move the definition next to the
(sparc) original.
2005-07-10 15:44:23 +00:00
martin ba7a82bf5c Add SUPPORT_DHCP - otherwise bootp does not work (packet is too short for
root-path). From Christos.
2005-07-10 08:40:21 +00:00
christos 9f68247977 Turn on dhcp support. 2005-07-10 06:40:35 +00:00
christos 7460ad1f15 matt asked for his 32<->64 debugging back. 2005-07-10 05:17:37 +00:00
christos 3439f8bdc3 move some more code out to getargs to match the upcoming sparc. 2005-07-10 02:34:42 +00:00