Commit Graph

164654 Commits

Author SHA1 Message Date
perry
4d096031f0 replace instances of __attribute__((__packed__)) with __packed 2007-12-15 16:03:29 +00:00
apb
241ba90c52 Add doc2html support for Bro/Brc/Brq. 2007-12-15 14:57:39 +00:00
apb
d38a66619d Fix the definition of .Fl. Now this construct works:
.Ic boot Fl c .

Previously, the space between "boot" and "-c" was missing from the
HTML output.
2007-12-15 14:48:40 +00:00
tsutsui
61126beefc Rename a device property name: "override_ultra" -> "aic7xxx-override-ultra" 2007-12-15 14:23:14 +00:00
tsutsui
fc91c35517 - enable both ffsv1 and ffsv2
- use __arraycount()
2007-12-15 14:21:40 +00:00
njoly
e78a322c4a s/netbsd32_void */netbsd32_caddr_t/ 2007-12-15 14:08:16 +00:00
pavel
339ab7fc8b add a space between "NetBSD" and the version number. 2007-12-15 14:00:08 +00:00
mjf
e3aec4fc22 Regen. 2007-12-15 12:51:59 +00:00
mjf
cd86b0a3cf Add the vendor eMPIA Technology and add the built-in USB camera that is
found on the EEEpc.
2007-12-15 12:50:12 +00:00
pavel
a181cd6f4f avoid the Fl macro because of formatting problem in the HTML output. 2007-12-15 12:29:16 +00:00
pavel
b5140129cc Our xsrc is based on XFree86 4.5.0, not 4.4.0. Applies also to the
netbsd-4 branch and to all 3.x releases thanks to a pullup.
2007-12-15 12:08:01 +00:00
joerg
9ba317469f Move mapping of the real mode location for the ACPI wakeup code into a
separate function called from acpi_md_callback.
2007-12-15 11:26:40 +00:00
joerg
36cdfbe0db Don't retry to post a command if the EC doesn't answer for a second.
It seems to create more issues than it fixes. Try to defend against
lost/late GPEs by using a callout to kick the state machine regulary.
Add some notes about the purpose and working of the driver.
2007-12-15 09:30:59 +00:00
joerg
bcf2c96639 For now, remove the attempts to shutdown other CPUs and bring them back
online. It runs into issues in the pmap code and will handled
differently. This allows sysctl -w machdep.sleep_state=3 to at least
recover into a working system again.
2007-12-15 09:18:59 +00:00
joerg
261292569c Steal some rope from innocent users and disallow ACPI suspend if more
than one CPU was found.
2007-12-15 09:15:37 +00:00
dyoung
f4438e4673 Take care to release all resources. Now I can 'drvctl -d sip0;
drvctl -r pci0' to to detach / re-attach a sip0.
2007-12-15 07:05:57 +00:00
dyoung
eb6813e870 Finish making the sip(4) and gsip(4) drivers share compiled code. 2007-12-15 05:46:21 +00:00
dyoung
6091ef39bb Add a suspend/resume handler. Do not suspend if the watchdog timer
is active.  Reinitialize the watchdog timer on resume.  If the
device is not powered, neither tickle the watchdog nor set the
watchdog's mode, but return EBUSY, instead.
2007-12-15 05:37:03 +00:00
dyoung
19b79f5c39 Use LIST_FOREACH(). 2007-12-15 04:58:39 +00:00
ad
bed92f8580 sched_mutex -> runqueue_lock 2007-12-15 03:31:36 +00:00
jmcneill
d72049ddbd Restore acpi_quirk functionality, lost in the latest ACPI-CA update. 2007-12-15 02:19:55 +00:00
dyoung
88d046abe2 Attach sip to 10/100 variants, gsip to gigabit variants. Thanks
Izumi Tsutsui for the bug report.
2007-12-15 01:27:13 +00:00
dyoung
f1dc0ca9a4 Convert some #ifdef DP83820 to comments /* DP83820 only */ where
that will neither make a functional difference nor cause a name
collision.
2007-12-15 01:25:12 +00:00
perry
9b2b412c19 __FUNCTION__ -> __func__ 2007-12-15 00:39:14 +00:00
perry
3f77c34144 __FUNCTION__ -> __func__ 2007-12-15 00:14:23 +00:00
jnemeth
d073d0744a some updates to the "Thanks go to" section 2007-12-14 23:38:22 +00:00
yamt
c9f8844e18 add several manpages. 2007-12-14 22:01:52 +00:00
yamt
5107db92df document following system calls.
_lwp_ctl
	_lwp_getname
	_lwp_setname
2007-12-14 21:52:17 +00:00
yamt
45cbede9e5 document following functions.
pthread_attr_getname_np
	pthread_attr_setname_np
	pthread_getname_np
	pthread_setname_np
2007-12-14 21:51:21 +00:00
pavel
474470307d Update URLs after website reorganization. patch by OKANO Takayoshi, from
PR 37070.
2007-12-14 21:15:52 +00:00
seanb
82a49e7352 - Remove remain <= MHLEN restriction in m_makespace()
PR:30124
2007-12-14 20:55:22 +00:00
explorer
64abe01775 add dehumanize_number so the build works again 2007-12-14 20:22:45 +00:00
yamt
b367d7f8b2 fix indentation. 2007-12-14 19:51:37 +00:00
christos
9e925a6665 - Use fattr.c functions instead of home brewed ones.
- Use new dehumanize number.
2007-12-14 17:37:22 +00:00
xtraeme
5ee1eac43a Fix up a comment. 2007-12-14 17:32:47 +00:00
christos
24d7eb9482 bump libc 2007-12-14 17:27:55 +00:00
christos
6d28b23da6 - add dehumanize_number
- decls for humanize_number and dehumanize_number are in stdlib.h
2007-12-14 17:26:19 +00:00
christos
b31749e77b add fw decl. 2007-12-14 17:06:07 +00:00
christos
b76677eda5 fix obvious bogon [can't alias symbol to itself] 2007-12-14 17:04:28 +00:00
christos
428c7a1f82 From Anon Ymous:
- Fix a file handle leak.
- Use Fopen(), Fdopen(), and Fclose() consistently so the signal
  handler close files.
2007-12-14 16:55:20 +00:00
pooka
2780a147ca nuke the leprechaun from VOP_ACCESS
Paul Lavoie, kern/37542
2007-12-14 16:48:24 +00:00
christos
03dcf031ab humanize_number was the only function in <util.h> that is not in libutil.
Move it to stdlib.h and add dehumanize_number.
2007-12-14 16:36:19 +00:00
xtraeme
486b2ff085 The humanize_number(3) proto will be available in stdlib.h, after
christos moves it to the correct place.
2007-12-14 16:31:20 +00:00
yamt
8dd89b2adc update 2007-12-14 15:02:02 +00:00
yamt
e27be6ef33 update 2007-12-14 14:59:04 +00:00
tsutsui
ea9dd22af6 Don't allow blocksize larger than 4096 bytes as our kernel, fsck_ext2fs(8),
and Linux e2fsprogs.
2007-12-14 13:19:35 +00:00
njoly
74ac36ac9c Do not try to attach spdmem if i2c adress exceed 0x57.
It must follow the reserved eeprom adresses range.
2007-12-14 13:18:43 +00:00
apb
4ed89c84f0 Synchronise shared text between man8/boot.8, man8/man8.i386/boot.8,
man8/man8.i386/dosboot.8, and man8/man8.i386/pxeboot.8.

* In all:
  - First few lines of each man page should be .Dd, .Os, .Dt, .Nm;
  - Use Nx; new sentence, new line; serial comma;
  - Update comments about which files to keep in sync.
* In MI boot(8):
  - add reference to architecture-specific boot(8);
  - add commented-out reference to boot.cfg(5);
  - reinstate BUGS heading that was lost when the MI boot.8 was
    created from i386 boot.8.
* In i386 boot.8:
  - mention -x and -z flags;
  - we can boot from media other than floppy, or from the network;
  - remove first paragraph in BUGS section now that an MI boot(8)
    man page exists.
* In i386 dosboot.8 and pxeboot.8:
  - mention -c, -x, and -z flags.
2007-12-14 12:03:53 +00:00
chris
86e1b8a4aa Fix for PR cats/18026.
cats was never able to dump a kernel core dump because reading from
VGA addresses (0xb8000) was causing the system to hang.

To workaround this reprogram the footbridge to map the memory to appear on
the PCI bus at 0x20000000, rather than at 0x0.  Also configure the pci bus
to have a DMA range so that data is mapped correctly.

Note that -current kernels seem to hang when unmounting the fs.  This
is a seperate issue, and appears to be because interrupts need to be
enabled to unmount filesystems.

So using reboot 0x104 does work, as it does a sync without unmounting the
filesystems.

Also arm savecore doesn't do anything with the memroy dump, as on arm we
currently just dump the raw memory, there's no header block to indicate
memory sizes or other useful information.
2007-12-14 11:08:03 +00:00
jmmv
0aa628334a Enable puffs in this kernel. I find it very useful in virtual machines to
access the host's (Mac OS X) file system, instead of having to set up NFS.
No objections from pooka@.
2007-12-14 10:57:48 +00:00