Commit Graph

87443 Commits

Author SHA1 Message Date
njoly
44d4cbded2 Regen (ftruncate fix). 2007-04-20 13:38:20 +00:00
njoly
12a8f9478e Fix ftruncate syscall. Do not use compat_43_sys_ftruncate, but
compat_43_netbsd32_oftruncate instead.
2007-04-20 13:37:05 +00:00
kiyohara
0b8b4bf965 + Add file-system HFSP (commented out).
+ Add pxartc and lcd(commented out) and pxaudc and pxamci (commented out).
  lcd and pxamci not support yet.
+ Remove slhci.
+ Change name of expansion bords the console-{hw,st} from waysmall-{hw,st}.
  Because The gumstix Co. changed the name.
2007-04-20 13:22:21 +00:00
kiyohara
3af5743d0a Change to use pxapcic from sa11xx_pcic.
Support multiple socket.  But not tested.
2007-04-20 13:00:08 +00:00
kiyohara
e0c180145d Add whitespace and tab. 2007-04-20 12:48:52 +00:00
pooka
ac5f1b1b78 * in readdir, don't copy extra memory back and forth to userspace
* consistent usage of the variable argsize with the rest of the module
2007-04-20 11:56:35 +00:00
pooka
07ba7a7d5f Size of a readdir cookie is sizeof(**ap->a_cookies), not
sizeof(*ap->a_cookies).  Fixes nfs readdir in the case that a
directory had lots of entries with short names.
2007-04-20 11:36:25 +00:00
ad
b0c22204d2 process_stoptrace: after setting a pending stop on curproc, call issignal
once to have it do the needful. PR kern/36161.
2007-04-19 22:42:10 +00:00
xtraeme
d5f3ba6a73 Fix a debug printf. 2007-04-19 20:24:47 +00:00
xtraeme
7b1f83bdfc Add more debugging printfs, to see the raw data returned by
the registers.
2007-04-19 20:18:39 +00:00
xtraeme
49eb062014 Cosmetics: remove useless comments, unneded headers, wrap a long line. 2007-04-19 14:51:47 +00:00
xtraeme
3531a933c1 + aiboost, ug.
- viapm.
2007-04-19 14:37:17 +00:00
xtraeme
855e06cf6a ALL: add ug(4).
GENERIC/GENERIC_LAPTOP: add ug(4) commented out.
2007-04-19 14:34:35 +00:00
yamt
337d052ee1 hold proclist_mutex when calling psignal(). 2007-04-19 11:05:14 +00:00
yamt
3829d825af malloc: fix a deadlock. 2007-04-19 11:03:44 +00:00
dyoung
d8fb0f4dac Add optimization hint for compiler. In a debug printf,
s/freeing/flushing/.
2007-04-18 23:22:26 +00:00
tnn
88ed5f6036 We can't support them in a clean way, but still note the bus addresses
of the disk failure LEDs.
2007-04-18 14:49:44 +00:00
skrll
8ac9999f27 Whitespace. 2007-04-18 13:41:37 +00:00
skrll
974981b1d9 Bump the initial stack size limit to bring in line with other ports.
newfs_lfs doesn't core by default now.
2007-04-18 13:39:37 +00:00
yamt
2c410c0431 sys_accept: fix usecount botch and double soclose in rev.1.108. 2007-04-18 10:20:02 +00:00
dyoung
8b1b24ba1a Add definitions for the AMD Elan 520 Host Bridge Master Interrupt
Control register.
2007-04-18 04:02:27 +00:00
perseant
0549fd6148 Add/change a couple of comments about locking restrictions. 2007-04-18 00:50:06 +00:00
perseant
0d8a7af5d6 Remember to write dirops when the vnode we are trying to flush is a dirop. 2007-04-18 00:49:33 +00:00
mhitch
a7afe56d70 Fix polyd trapping when running pic and grn during groff tool builds on
vax.  From OpenBSD:

Addressing mode work by Jim Uhl:
    - fix PC relative byte displacement in getaddr_byte
    - add support for word displacement to getaddr_byte

This allows certain libm inverse trig functions to work on systems
that lack a native polyd instruction.
2007-04-17 22:47:50 +00:00
dyoung
57b1c008e8 Plug an mbuf leak. Found by inspection.
Do not clear IFF_OACTIVE and reset the transmit watchdog timer
unless we have actually freed some transmit resources.  This prevents
my wireless routers from needlessly entering ath_start() without
any transmit resources.  If the MAC's transmitter has frozen, also,
then the driver will take the "out of xmit buffers" path in
ath_start(), which sets OACTIVE without activating the transmit
watchdog.  That freezes the transmit path until the driver is reset.

XXX The "out of xmit buffers" path in ath_start() needs more
XXX attention.
2007-04-17 22:01:43 +00:00
dyoung
32cd652c48 Cosmetic: fix whitespace, join two lines, remove extraneous #includes.
#Define a bitmask using __BITS() instead of a hex constant, for
easy comparison with paper documentation.
2007-04-17 21:50:31 +00:00
dyoung
e3c53bf4c1 Add prototype for ath_pci_detach(). Alphabetize prototypes.
Extract the code for disabling PCI retries, creating ath_disable_retry(),
and call it both during device initialization and on ->PWR_RESUME
transitions.  Comment out the code in ath_disable_retry() for now,
because it is not clear what problem it solves, if any.

Set a reasonable PCI Latency Timer.  Apparently, it is too much to
ask any BIOS to do.  The PCI framework ought to set latency timers,
instead of individual drivers setting latency timers.
2007-04-17 21:48:07 +00:00
perseant
72507061e4 Fix another locking protocol error in lfs_fsync(). 2007-04-17 20:30:28 +00:00
pooka
052ed1b786 wrap calls to pgsignal() in proclist_mutex 2007-04-17 19:52:56 +00:00
tron
a1ecd00f0a Comment out fwohci(4) because it doesn't support ACPI suspend/resume.
Pointed out by Jared D. McNeill on "port-i386" mailing list.
2007-04-17 14:17:28 +00:00
skrll
a3ff9cc3ff Remove bogus if_drain. If an attempt to reclaim mbufs was made the
interface was marked down.

Should fix PR 31540.
2007-04-17 14:12:06 +00:00
tron
c7e599195d Add and enable IEEE1394 support. 2007-04-17 14:06:52 +00:00
sekiya
e2a64ba528 Nuke homegrown PCI configuration routines. #ifdef'd out by tsutsui@ a long
time ago; this is just garbage collection.
2007-04-17 12:41:57 +00:00
sekiya
1eb315b681 g/c unused file. 2007-04-17 12:29:06 +00:00
perseant
43d50ff956 Fix MP locking protocol violations introduced in my previous commit. 2007-04-17 06:49:40 +00:00
dyoung
4c03b53e43 In admsw_intr(), print any events we do not expect. 2007-04-17 03:33:48 +00:00
perseant
9be0ebd9da Install a new sysctl, vfs.lfs.ignore_lazy_sync, which causes LFS to ignore
the "smooth" syncer, as if vfs.sync.*delay = 0, but only for LFS.  The
default is "on", i.e., ignore lazy sync.

Reduce the amount of polling/busy-waiting done by lfs_putpages().  To
accomplish this, copied genfs_putpages() and modified it to indicate which
page it was that caused it to return with EDEADLK.  fsync()/fdatasync()
should no longer ever fail with EAGAIN, and should not consume huge
quantities of cpu.

Also, try to make dirops less likely to be written as the result of a
VOP_PUTPAGES(), while ensuring that they are written regularly.
2007-04-17 01:16:46 +00:00
macallan
2f13af2bed add a very simple driver for ADB button devices found on halfway recent
*Books. So far it only returns function key events.
2007-04-16 23:34:43 +00:00
macallan
9fbe2d39ef don't panic when someone presses the power button without powerd running 2007-04-16 23:33:10 +00:00
jmcneill
1fcc2e9929 Fix crime_intr so intr handlers registers w/ crime_intr_establish actually
get called. "seems more right to me" mrg@
2007-04-16 23:31:04 +00:00
ad
9e3116ecc8 Fix error in previous. 2007-04-16 19:25:04 +00:00
ad
10c8708a61 + x86/sysarch.h 2007-04-16 19:16:36 +00:00
ad
8aefa8aa0c Share the sysarch stuff between the x86 ports. PR kern/36046. 2007-04-16 19:12:17 +00:00
pooka
652606289c I'm not sure if I want to know what MNT_LAXY means, so I'll just
assume the comment has a tyop of MNT_LAZY.
2007-04-16 18:33:39 +00:00
ad
e315f29059 Fix crappy locking around LDT updates. i386 part of PR kern/36046. 2007-04-16 17:24:19 +00:00
christos
27db97ce3a As noted by uwe, we need to also save %edx because it can be used with
the regparm calling convention.
XXX: The c stub should be replaced with an assembly one.
2007-04-16 15:02:25 +00:00
pooka
5880c46d2d fix comment in previous 2007-04-16 14:09:53 +00:00
pooka
947c4b9f60 Allow to set non-blocking mode for transport fd even if the file
system is not yet mounted.
2007-04-16 14:09:00 +00:00
pooka
f2cea5c791 Sanity-check & possibly adjust number of hash buckets already before
returning the mount argument structure to userspace.
2007-04-16 13:54:07 +00:00
pooka
96fd5059d7 catch invalid size file handles already in the kernel 2007-04-16 13:24:35 +00:00