Commit Graph

59062 Commits

Author SHA1 Message Date
bjh21
6ae19cc8cd Use ADR rather than an explicit ADD from PC. 2002-10-09 22:28:03 +00:00
nathanw
eeffadffd5 In _bus_dmamem_alloc_range(), respect the high end of the caller's range. 2002-10-09 21:35:33 +00:00
scw
4401a03fd4 Tweak the "ffs" code in cpu_switch so we can ditch __HAVE_MD_RUNQUEUE. 2002-10-09 20:27:35 +00:00
pooka
8e4950499d regen for rfork 2002-10-09 20:24:10 +00:00
thorpej
60adad59bd Define a "scsi_core" attribute. Make the "scsi" attribute depend on
"scsi_core".  Make all the files previously selected by the "scsi"
attribute selected by the "scsi_core" attribute.  Give the "scsibus"
device the "scsi_core" attribute.
2002-10-09 20:23:56 +00:00
pooka
324d517241 FreeBSD rfork emulation 2002-10-09 20:22:47 +00:00
itojun
b15fea2610 suppress too noisy log by default (can be re-enabled by sysctl). sync w/kame 2002-10-09 20:22:16 +00:00
scw
1d99b44e36 Adjust the size of intrcnt members to match sizeof(u_long). 2002-10-09 18:52:36 +00:00
jdolecek
d679e94c87 tlp_pci_vpc_21140_quirks(): make agnostic to signed/unsigned char; fixes
compile on cats
2002-10-09 16:59:19 +00:00
dan
86d2054739 Account for 1 bit of entropy for each timestamp added during
initialisation. This is just as silly as the other entropy
estimations, but it at least allows us to see how many values have
been added.

spl protect rnd_get_entropy_counter call properly

Make rndpool start out doing rotations on the first pass - make the
LSFR's be less sensitive to stuck bits in poor initial inputs.

Add considerable comments regarding the mixing function.
2002-10-09 14:48:58 +00:00
elric
152dfaff5d We need to do biodone() if strategy is called on an unconfigured device. 2002-10-09 14:04:08 +00:00
kent
dd7455ebdc Add 'mask' member to the struct ac97_codecid.
Cirrus Logic Crystal codec uses lower three bits in ID for a
revision number.  We should mask an actual ID value before
matching to this table.
2002-10-09 12:06:17 +00:00
jdc
050645f10a Check only the physical address of serial ports on a Sun 4.
Reviewed by Uwe.
2002-10-09 08:56:25 +00:00
jdolecek
e1d97e2232 replace cpu_tsc_freq with curcpu()->ci_tsc_freq 2002-10-09 07:28:57 +00:00
jdolecek
4c0123fe2f make ca_name of struct confargs const 2002-10-09 07:00:56 +00:00
fair
336a7fda4a correct LP64 bug in RND code and close PR 18592 2002-10-09 06:27:09 +00:00
junyoung
33ecb0af91 Get rid of pcb_flags which is no longer existent. 2002-10-09 05:07:55 +00:00
thorpej
194d7347bc Implement config_attach_pseudo(), which creates an instance of
a pseudo-device which behaves like a normal device in the device
tree, including the capability to have children.
2002-10-09 02:59:55 +00:00
augustss
9487fc5b8b Make sure we are at splusb() while polling. 2002-10-09 01:02:26 +00:00
thorpej
ebd04dfa9b Properly prototype the netwinder isa/pci init funcs. 2002-10-09 00:33:38 +00:00
thorpej
84980f6eaa Make this compile with strict prototypes. 2002-10-09 00:23:21 +00:00
thorpej
d27ffe27d1 Need ixp12x0var.h
CVS ----------------------------------------------------------------------
2002-10-09 00:12:05 +00:00
thorpej
6509226f7a Need <dev/pci/pciconf.h>. 2002-10-09 00:11:15 +00:00
thorpej
18962e82ba add ixp12x0_reset() prototype. 2002-10-09 00:09:37 +00:00
thorpej
aa3c369db0 Make this compile with strict prototypes. 2002-10-09 00:06:57 +00:00
thorpej
855eefa351 Clean up some bad interaction between the spl inlining stuff and
strict-prototypes.
2002-10-09 00:03:42 +00:00
thorpej
a4e06dd042 Move XScale common prototypes to xscalevar.h. Add xscale_pmc_dispatch()
prototype.  Include xscalevar.h has necessary to being prototypes into
scope.
2002-10-08 23:59:41 +00:00
bjh21
67ba9f99bf Remove an outdated register assignment comment. 2002-10-08 23:48:24 +00:00
jdolecek
aaccb8dc2b need to include <sys/param.h> to get inline strlen() on vax; found
with help of Matt Thomas
2002-10-08 21:45:36 +00:00
pooka
48f6d7e229 fill in name for TriTech unknown: TR28602 2002-10-08 21:40:04 +00:00
jdolecek
02629619d4 fix typo - si_vme, not si_vmw 2002-10-08 21:29:46 +00:00
fvdl
1e51cd72a0 Delete pcb_flags. 2002-10-08 20:24:58 +00:00
fvdl
ab7f74bdca Fix USER_LDT syscall locking. It's a bit over the top for a big lock
kernel right now, a sleep lock around the entire thing would have
worked as well, but hey.

Also correct PCB_USER_LDT to PMF_USER_LDT. This was wrong but since
they had the same value, it didn't matter.
2002-10-08 20:23:27 +00:00
fvdl
1854adf2b1 Add a comment about why taking the pmap spinlock is not needed
for one particular ldt_free call.
2002-10-08 20:19:16 +00:00
fvdl
073e7f23e9 Get rid of pcb_flags; nothing was using it except for initialising it
to 0.
2002-10-08 20:17:09 +00:00
fvdl
55a1ddda46 Remove gdt_compact_slot, it was commented out already.
Expect callers to ldt_alloc and ldt_free to take the corresponding
pmap spinlock.
2002-10-08 20:16:09 +00:00
kent
f6f836bbe6 Sync with the recent ac97 changes.
- AC97_CODEC_DOES_VRA -> AC97_EXT_AUDIO_VRA
 - Use ac97_codec_if::get_extcaps()
 - Remove VRA/VRM enabling code
2002-10-08 18:01:42 +00:00
uwe
a931c80c22 G/c unnecessary includes. 2002-10-08 18:00:46 +00:00
thorpej
3d2c7f56e9 Fix missing backslash. 2002-10-08 17:43:10 +00:00
thorpej
950670fa77 Fix a typo. 2002-10-08 17:39:17 +00:00
pooka
164c4e3bec ubsa_activate() is prototyped unconditionally as non-static,
reflect that here.

Fixes compilation on non-DEBUG kernels.
2002-10-08 16:13:36 +00:00
scw
16c5b1b5a8 - g/c an accidentally committed debug hack
- use sh5_trunc_page() instead of masking with SH5_PTEH_EPN mask
  where appropriate. The latter is not safe in 64-bit mode.
2002-10-08 16:01:07 +00:00
scw
ae8f4bf362 Fix tyop. 2002-10-08 15:59:32 +00:00
scw
71de7dd5e6 - Tweak the kernel's start address for 64-bit kernels.
- Use a local hacked-up-for-sh64 dbsym(8).
2002-10-08 15:59:11 +00:00
scw
f30b5f8e54 Cast to caddr_t via intptr_t. 2002-10-08 15:56:13 +00:00
scw
2729bcfb69 - Use intrnames[] instead of rolling our own.
- Update intrcnt[level] in sh5_intr_dispatch().
2002-10-08 15:55:07 +00:00
scw
e0248b775a intrnames has moved to board-specific code. 2002-10-08 15:53:04 +00:00
scw
f07358cb66 - Make sure not to sign-extend the PA of KSEG0, particulary in 64-bit mode,
- Moved intrnames/eintrnames here, since they're pretty much board-specific.
2002-10-08 15:52:02 +00:00
junyoung
05f012a447 - char * -> caddr_t
- Fix typo.
2002-10-08 15:50:11 +00:00
scw
a5719508fe Get DB_ELFSIZE for 64-bit kernels. 2002-10-08 15:49:26 +00:00