Commit Graph

67331 Commits

Author SHA1 Message Date
chs
b9a4f8c809 allow COMPAT_SUNOS without COMPAT_43. 2003-10-25 16:27:25 +00:00
chs
7bd0896538 regen 2003-10-25 16:24:44 +00:00
chs
ae220470c0 add some missing. uncomment some. alphabetize. 2003-10-25 16:24:30 +00:00
chs
7d1b5d21fd regen 2003-10-25 16:22:25 +00:00
chs
897a586840 add some misc cards I've got. 2003-10-25 16:21:31 +00:00
chs
0e9360f160 NULL -> 0 2003-10-25 16:15:07 +00:00
simonb
919b362849 Switch from intrcnt interrupt account to event counters. 2003-10-25 15:52:38 +00:00
simonb
49a8cd4e3a Rename the "strtc" device to "m41t81rtc" so that it doesn't conflict with
the MI i2c "strtc" device.
XXX: This should use the MI "strtc" device - the M41T81 should be
     compatible enough with the M41ST84 currently supported by that
     driver.
2003-10-25 15:05:00 +00:00
simonb
aa16c3e512 Fix a couple of tyops. 2003-10-25 15:00:38 +00:00
simonb
12d7c8ac47 Include "dev/scsipi/files.scsipi". 2003-10-25 14:36:50 +00:00
simonb
fd8bf5d7c7 This is now a duplicate of the PB1000 config file, remove it. 2003-10-25 14:33:48 +00:00
simonb
78175d51c7 Update comment that this kernel config file is for the DBAu1x00 boards too.
Add USBVERBOSE, uncomment MIIVERBOSE, sort *VERBOSE.
Add "netbsd-aumac0" config line for root-on-aumac0.
Remove commented out "usb@uhci" device.
Add USB devices from the DB1500 config file.
Add umass/sd.
2003-10-25 14:33:14 +00:00
simonb
7e135f3a2e Make this compile with older gcc. 2003-10-25 13:45:07 +00:00
simonb
413652f29e Fix comment for COMPAT_16. 2003-10-25 13:27:53 +00:00
simonb
916e13afc6 Add COMPAT_16 where missing.
Remove the unused COMPAT_15.
Comment out/remove COMPAT_* from INSTALL kernels.
2003-10-25 13:21:13 +00:00
simonb
95d060b02d Use "cfe_bb_*" instead of "bb_*" to avoid conflicts with <sys/disklabel.h>.
XXX: Most of this file should probably move to <sys/disklabel.h>.
2003-10-25 13:06:03 +00:00
yamt
01de53d5f4 don't assume the order of upcall stacks in the array from userland.
(it's reversed in the case of topdown vm.)

kern/23266 from Kouichirou Hiratsuka and tested by him.
2003-10-25 12:08:45 +00:00
manu
e7fc3d0217 Correctly terminate the iohidsystem thread (with appropriate cleanups of
the shared memory), when the display server quits. We are now able to
restart the X server without the need to reboot the machine. That's better.
2003-10-25 10:43:45 +00:00
manu
13b975e15d Typo 2003-10-25 10:41:53 +00:00
jandberg
5210c06ca0 Add polish wscons keymaps for amiga.
From Pawel Chwalowski in port-amiga/22961.
2003-10-25 10:02:05 +00:00
shin
0b6ee0aece fix licence notice.
s/BY THE REGENTS AND CONTRIBUTORS/THE AUTHOR/.
2003-10-25 10:00:12 +00:00
christos
cb02efca51 fix uninitialized variable 2003-10-25 09:06:51 +00:00
christos
9ff8e797c6 fix uninitialized variables. one of them is a compiler bug. 2003-10-25 09:03:59 +00:00
christos
fe659fa011 fix uninitialized variable 2003-10-25 08:48:11 +00:00
scw
a554bf6c09 Simplify bus_space_{read,write}_N. Gcc3 emits better code than the old
compiler with straight C, rather than inline asm. (The latter was slightly
broken anyway with gcc3's more aggressive optimisation).
2003-10-25 08:47:14 +00:00
christos
d4ca1c7d1e fix uninitialized variable 2003-10-25 08:39:05 +00:00
christos
21027e6048 more uninitialized variables 2003-10-25 08:37:00 +00:00
christos
551bd8b829 fix uninitialized variables 2003-10-25 08:30:46 +00:00
christos
e4e2331f07 fixed uninitialized variable 2003-10-25 08:27:12 +00:00
christos
59f2aab1ed fix uninitialized variables 2003-10-25 08:26:14 +00:00
christos
649137925e initialize off 2003-10-25 08:13:28 +00:00
tsutsui
62c9f07679 Switch to use MI mk48txx(4) and todr(9) for MK48T02 todclocks on newsmips. 2003-10-25 04:07:28 +00:00
uwe
ffb8ffc1fc Bump _INTR_N from 8 (all of which were used) to 16 so that it's
possible to do experiments with new drivers without hitting this
limit.  Of this delta we already consume two slots on Jornada 680 for
IRQ0 (j6x0pwr) and IRQ3 (j6x0tp).
2003-10-25 03:45:03 +00:00
mycroft
f336bf5b29 Do that replacement in one more place. 2003-10-25 03:18:37 +00:00
mhitch
b83111d3cb Use -Os to shrink bootblock code a little more. Now bootxx_fd builds with
gcc 3.3.2.
2003-10-25 03:14:33 +00:00
kleink
661f76699f POSIX: when attempting to fdatasync(2) a file which is not open for
writing, fail with EBADF.
2003-10-25 01:18:01 +00:00
mycroft
3ebaf267f3 Replace a constant with a symbol. 2003-10-25 01:17:39 +00:00
uwe
6d2654649f Add kernel_text label so that pmap(1) works. 2003-10-25 00:18:43 +00:00
mycroft
f253f37fb0 In wi_newstate(), read the BSSID into a temporary buffer that has guaranteed
alignment.  Fixes a really obscure failure mode on Alpha, and panics on other
machines.
2003-10-24 23:58:22 +00:00
chris
ceb06608ed Don't pass NULL as an integer. 2003-10-24 23:03:50 +00:00
enami
1917e90b2f Update comment after the #endif for recent change. 2003-10-24 21:45:09 +00:00
scw
da08e40e5c gcc3 bitches about a gratuitous use of __CONCAT(), so just delete it. 2003-10-24 21:30:06 +00:00
scw
b9b144d190 Add -ffreestanding 2003-10-24 21:28:24 +00:00
matt
fc0279f650 Make this build properly. 2003-10-24 18:21:52 +00:00
matt
40ef1c4b3a Update to latest i386 version. 2003-10-24 18:20:51 +00:00
matt
aff62bef7a Make this build in a R/O build tree. And add -I. for gcc3 2003-10-24 18:20:01 +00:00
mycroft
4ed6e478a6 + NetGear FA511 2003-10-24 17:04:16 +00:00
mycroft
f4bdf17ebc Fix awk warnings. 2003-10-24 17:01:58 +00:00
yamt
a526db13df sa_unblockyield:
don't assert that syscall arguments are sane.
return an appropriate error instead.
2003-10-24 16:11:21 +00:00
tsutsui
75ebe04013 Add options COMPAT_16. 2003-10-24 15:58:31 +00:00
tsutsui
6c2bb73613 Add support for Acard ATP865/A Ultra100 IDE Controllers. From Tsubai Masanari. 2003-10-24 15:50:02 +00:00
tsutsui
723afbe9db Remove trailing whitespace. 2003-10-24 15:47:49 +00:00
mycroft
5f4b4ea107 Check the PCI device and function numbers correctly. Fixes boot device
identification on reinoud's PWS 550, and works fine on my AS200.
2003-10-24 15:00:20 +00:00
cl
e30be76fce simplify tests:
The case where l_stat == LSONPROC and l_cpu == curcpu cannot happen
because the pagedaemon is the LWP on curcpu and the pagedaemon is a
kernel thread and the code is only used by the pagedaemon.

See also updated patch in PR kern/23095, which I ment to checkin
originally.
2003-10-24 13:07:33 +00:00
is
94b6569a57 wd and atapibus are at atabus now, not directly at wdc.
Change requested by Martin Husemann.
2003-10-24 10:57:16 +00:00
jdolecek
7b569bb154 g/c all SCSI-only device majors - shark doesn't have SCSI and isn't
expandable
pointed out by Matthew Green
2003-10-24 10:29:12 +00:00
ragge
da20a11a23 Fix the bug in the tcp transmit prediction code.
During testing the prediction counters show a hit-rate on about 85% for
packets sent on a local LAN, and better than 99% for intercontinental
high-speed bulk traffic (!).
2003-10-24 10:25:40 +00:00
scw
11b5112b4e The i2c pins are not interrupt sources. 2003-10-24 10:04:01 +00:00
pk
48b10bb77d pmap_map_srmmu: use the `map-pages' Forth word to let prom map all pages
at once.
2003-10-24 09:48:08 +00:00
jdolecek
821f341675 add necessary majors for miscellaneous devices, such as missing
wscons/scsi/isdn devices
2003-10-24 08:18:36 +00:00
jdolecek
e1c55a7ced add major for sci 2003-10-24 08:17:34 +00:00
jdolecek
694c204404 add major for 'ses' for archs which have the other scsi devices 2003-10-24 08:09:53 +00:00
matt
113d5c2523 use -ffreestanding 2003-10-24 06:48:53 +00:00
matt
3600060b1e Don't install bus.h 2003-10-24 05:11:12 +00:00
matt
425743428c Fix some indentation problems. Turn off PSL_EE when calling OFW. 2003-10-24 05:10:02 +00:00
matt
5b1fd73a0a Add back spkr.h 2003-10-24 05:07:44 +00:00
matt
c6f98f7a34 Add _bus_dma_phys_to_bus_mem_generic and _bus_dma_bus_mem_to_phys_generic. 2003-10-24 05:01:09 +00:00
matt
f6dce1d311 Make this work with R/O source trees. 2003-10-24 04:49:31 +00:00
matt
9c38699d01 Remove redunant raid entry. 2003-10-24 04:48:59 +00:00
kent
cc9f31d5b2 auich_reset_codec:
wait for readiness of one of all codecs.
2003-10-24 04:06:44 +00:00
enami
935b3c7ad5 Make this file compile again when TCP_OUTPUT_COUNTERS defined. 2003-10-24 03:12:53 +00:00
yamt
3f32c6ab70 don't use NULL as vaddr_t. 2003-10-24 00:53:43 +00:00
mycroft
a480189bf8 Remove IDE_PCI_CLASS_OVERRIDE -- it wasn't actually used anywhere. In lieu of
it, add a class/subclass check to drivers that do not (appear) to have a unique
ID for the IDE controller.  This includes aceride, cypide and optiide.
2003-10-24 00:24:15 +00:00
mycroft
ef51dc08fc NULL -> 0 2003-10-23 23:52:16 +00:00
kleink
56062be225 Make ieee_ext match reality, and add a note about its ABI-specific
tail padding.
2003-10-23 23:28:29 +00:00
kleink
422697679e * Move the definitions for types other than single-precision and double-
precision back to machine-dependent headers.  C99 has no strict
  requirement which, if any, extended-precision type `long double' must
  match, and even between 80-bit formats there are differences in
  implementation (m68k vs. x86).
* On arm, consider __VFP_FP__.
2003-10-23 23:26:06 +00:00
mycroft
56e88d0d24 NULL -> 0 2003-10-23 23:25:39 +00:00
kleink
7caede41fb Oops, s/DECIMAL_DIGIT/DECIMAL_DIG/. 2003-10-23 23:16:50 +00:00
mycroft
5a8b331f54 Remove all the code to maintain ia_inpcbs. This information was only used to
close sockets on address changes, which was deemed to be a bad idea and was
summarily removed, so there is no point in wasting effort on maintaining it
any more.
2003-10-23 20:55:08 +00:00
scw
2ffebceb85 Duh, fix the align-to-32-bits code. 2003-10-23 20:46:40 +00:00
fvdl
d85a7f8656 Need the NOCRC bit, or my 5704B5 will start acting up. 2003-10-23 20:36:36 +00:00
he
db957f1a5a Correct a few more instances where NULL was used in an integral context. 2003-10-23 20:25:40 +00:00
he
441d9ba0ce bus_addr_t on MIPS is integral, so use 0 instead of NULL. 2003-10-23 19:55:14 +00:00
bouyer
e0f02bb281 If we found a compat channel disabled, unmap the registers. There may be
an ISA IDE adapter at the same address.
2003-10-23 19:29:35 +00:00
cl
89ca05e5e9 Fix NULL change lossage. 2003-10-23 18:56:49 +00:00
fvdl
b9d0173421 Call check_mcontext to validate a register set passed in by ptrace. 2003-10-23 17:45:14 +00:00
fvdl
4df6c69646 * match more cards (from FreeBSD)
* don't set the NOCRC bit in the mode control register, it can cause
  problems on some chips (from the broadcom errata via FreeBSD)
* implement a fallback quirktable that is searched only using the
  major asic revision, so that the driver has a shot at supporting
  newer versions properly without modification
* rename asicrev -> chipid, like the FreeBSD driver
2003-10-23 17:41:59 +00:00
kent
5286b24afb Change the short names of nForce:
nForce-MCP -> nForce
 nForce-MCP-T -> nForce2
 nForce-MCP-T -> nForce3

Use snprintf() and strlcpy() instead of sprintf() and strcpy().
2003-10-23 17:14:54 +00:00
kent
3afd3b3671 - remove unused code
- print diagnostic messages if the primary codec does not get ready in
auich_reset_codec().
2003-10-23 17:05:26 +00:00
thorpej
e8a98ee63e Oops, FAST_MBSEARCH counters were swapped; fix it. Pointed out by yamt@. 2003-10-23 17:02:23 +00:00
kleink
e015c8ea64 Account separately for the explicit integer bit in extended-precision
format, due to its role in denormal representation; inspired by communication
with Charles Hannum.
2003-10-23 16:57:20 +00:00
fvdl
142de57c80 Regen. 2003-10-23 16:02:09 +00:00
fvdl
ef2ab367bd Add a few more broadcom 57xx ids. From FreeBSD. 2003-10-23 15:54:13 +00:00
kleink
c51a4365e2 While I'm here, retire the FPE code's own copy of ieee.h. 2003-10-23 15:07:30 +00:00
he
91d100ed41 The paddr_t type is integral, so no longer compatible with NULL,
so use 0 instead.
2003-10-23 15:06:26 +00:00
kleink
d216ee1de2 Make struct ieee_ext actually match the layout of m68k extended-precision. 2003-10-23 15:04:00 +00:00
scw
1fdc9cd5a1 Add a defflag for __BUS_SPACE_HAS_STREAM_METHODS, and add the
appropriate glue in bus.h, contingent on the option being defined.

This allows stream methods to be available on a port-by-port basis.
2003-10-23 15:03:24 +00:00
mycroft
0965dd2ada Recognize ESS1879. 2003-10-23 14:28:55 +00:00
fvdl
b4c1912d80 * match the nForce3 controller
* search the whole current PCI bus for the VIA bridge, can't rely on
  it to be function 0 of the same device
2003-10-23 14:27:09 +00:00
kleink
8a1a0686ad No need for multiple-inclusion protection in these. 2003-10-23 13:02:52 +00:00