Commit Graph

65180 Commits

Author SHA1 Message Date
eeh
c07f47e182 The firmware actually passes the info block pointer in the link register. 2003-08-03 23:28:45 +00:00
eeh
f77f1feee5 Use %r<n> for register names. 2003-08-03 23:26:55 +00:00
nathanw
9cf81bef79 Bunch of changes to make the Palm Tungsten T work:
* Mark the actual Handspring Visor as type "VISOR" and all others
  "PALM4" (notably, the Sony Clie 41 changes from Visor-type to
  Palm4-type).

* For Palm4-type devices, use the GET_PALM_CONNECTION_INFORMATION
  query instead of the GET_CONNECTION_INFORMATION query, and interpret
  the returned data structure appropriately. This permits attaching a
  ucom device to newer devices such as the Tungsten T that do not
  support the Visor-style query (data structure definition gleaned
  from the Linux 2.4.21 visor.c).

* Crank down UVISORBUFSIZE from 1024 to 64 to avoid a problem where
  the Palm device and the USB host controller deadlock. The USB host
  controller is expecting an early-end-of-transmission packet with 0
  data, and the Palm doesn't send one because it's already
  communicated the amount of data it's going to send in a header
  (which ucom/uvisor are oblivious to). This is the problem that has
  been known on the pilot-link lists as the "[Free]BSD USB problem",
  but not understood.

  XXX It would be better for the Palm protocol to be handled entirely
  in userland via ugen, since the serial protocol abstraction isn't
  really adequate for the amount of structure that's here, and the
  64-byte limit is just a workaround. The pilot-link tools aren't up
  to the task yet, though.
2003-08-03 21:59:26 +00:00
matt
777589be9a Add each register in trapframe, switchframe, and faultbuf. 2003-08-03 21:40:13 +00:00
matt
e3e80aa5d7 Add PPC_OEA64 and netbsd32_sigcode.S 2003-08-03 21:38:08 +00:00
matt
618c78b771 Don't use stmw. Do each store individually. 2003-08-03 21:27:49 +00:00
matt
42382e46c4 Add CPUSAVE_* and each register in the saveframe and faultbuf. 2003-08-03 21:26:27 +00:00
he
69f1e70775 On second thought, callout_stop() should not clear the INVOKING flag. 2003-08-03 19:14:59 +00:00
jdolecek
d2041674e6 tweioctl(): store the result of twe_param_get() directly to the right
variable rather than using (void *) temporary
should fix strict aliasing warning of gcc 3.3
2003-08-03 18:45:46 +00:00
pk
09f1c82201 Make life slightly easier for the compiler's optimisation routines. 2003-08-03 18:20:53 +00:00
bouyer
feddcdfa5d For LBA drives, compute the number of cylinders from the drive capacity
in the default disklabel and the boot message, instead of using the
value reported by the drive (which is 16383 if the drive is larger than 8G).
Should fix PR 9864
2003-08-03 17:53:04 +00:00
bsh
18fca6b097 an arg of s3c2800_clk_freq() has been changed to match with
s3c24x0_clk_freq().
2003-08-03 14:11:16 +00:00
lukem
64b5a0fe7b Add INCSYMLINKS to <bsd.inc.mk> and <bsd.kinc.mk>, and use that instead of
SYMLINKS to install symlinked header files.  INCSYMLINKS are installed with
'make includes'.  This avoids using SYMLINKS and hacks with the 'linkinstall'
target in <bsd.links.mk>, as linksinstall occurs in 'make install' and hacks
to get it to occur in 'make includes' weren't robust, as seen in lib/libdes.

Yet more improvements to bsd.README.
2003-08-03 09:23:14 +00:00
kochi
645984364d Workaround for AcpiOsGetThreadId: can be called with curlwp == NULL 2003-08-03 08:19:58 +00:00
kochi
28e9389fdb Fix a wrong handling of clearing a flag 2003-08-03 08:16:07 +00:00
christos
ec3e43edf4 appease gcc-3 by adding ULL to constants that do not fit in longs 2003-08-03 03:49:29 +00:00
uwe
85fb38b211 When passing &buffers to uvm_map, add a cast to (void *). Without it,
gcc3 with -O2 produces "dereferencing type-punned pointer will break
strict-aliasing rules" warning.
2003-08-03 00:01:44 +00:00
uwe
2b2ae88a13 Move the definition of enum hd64461video_display_mode out of the
definition of struct hd64461video_chip.  Makes gcc3 happy.
2003-08-02 22:39:13 +00:00
uwe
f49836bca3 Add "break" to the empty "default" case.
Makes gcc3 happy.
2003-08-02 22:33:36 +00:00
uwe
9d1ca6d8d9 Do not ##-concatenate identifiers with parens.
Makes gcc3 preprocessor happy.
2003-08-02 22:14:13 +00:00
jdolecek
d6ade97eb9 use copyout() instead of subyte() 2003-08-02 20:23:48 +00:00
jdolecek
e0fe42681d use copyin()/copyout() instead of fubyte()/subyte()
also nuke uvm_useracc() check, copyin()/copyout() do this atomically

XXX only compile-tested
2003-08-02 19:51:23 +00:00
matt
dd1c661661 Nuke stmreg/ldmreg. PPC64 doesn't have a lmd/stmd so make sure lmw/stmw
don't invoke valid instructions on PPC64.
2003-08-02 19:40:39 +00:00
matt
c9d56ac39d Add symbolic offsets for what's in cpu save locations.
Add a PPC64 variant of mftb
2003-08-02 19:35:26 +00:00
jdolecek
16b74086ed replace fuword() with copyin(), and suword() with copyout() 2003-08-02 19:21:48 +00:00
matt
2f71595941 Make this compile with gcc3. Change kernel_pmap_store to array of struct
pmap instead of array u_long.  A bit of space is wasted but it supresses
the -Wcast-align warning.
2003-08-02 19:10:04 +00:00
bjh21
6407c43a48 Descend into stand so boot32 gets built. 2003-08-02 17:57:35 +00:00
drochner
9c0942bc88 sync comments with reality 2003-08-02 14:12:51 +00:00
tsutsui
75e4cfdd9e splx() doesn't require a return value. (from mvme68k) 2003-08-02 13:04:49 +00:00
tsutsui
afa4f85c01 TAB/space cosmetics 2003-08-02 12:48:09 +00:00
jdolecek
28d75bbaf3 remove all traces of non-working quota support
add quota support to TODO - makes sense only once writing support
would be implemented, and only once NTFS would support notion of file 'owner'

adresses kern/21967 by Martin Husemann
2003-08-02 12:11:56 +00:00
jdolecek
62e0ed44c8 Allow separate masks for files and directories. Useful e.g. to turn
the execute bit off for files, but keep search permission for directories.
Change contributed in PR kern/21538 by Pavel Arnost, based on some FreeBSD
patches.
Further manpage changes, and backward-compatibility adjustments done by me.

Also fixes PR kern/16778 by Johan Danielsson, and PR kern/3400 by Rick Byers
2003-08-02 11:41:19 +00:00
pk
0ac4b6aae4 On small sun4c machines trim the buffer cache to reduce the demand for
kernel virtual memory. This leaves more of the precious PMEG resources
available for user space VM which speeds up things considerably, since
a reasonable PMEG working set can be maintained.
2003-08-02 08:10:44 +00:00
manu
06da3d32ba Build again with MALLOCLOG 2003-08-02 07:08:02 +00:00
kristerw
2e750373ec Add a missing NULL _cookie to the arm32_bus_dma_tag initialization. 2003-08-01 22:43:27 +00:00
martin
99716c5d05 Make this compile for big endian archs.
Fixes PR port-sparc64/22333.
2003-08-01 22:25:55 +00:00
lukem
a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
scw
5aa077f5cf In fxp_intr(), bail early without touching any registers if sc_enabled is
zero, otherwise we could cause PCI master aborts if the card is in D3 power
state and we happen to share a PCI interrupt line with some other device.
2003-08-01 14:54:12 +00:00
mrg
2c28bbc2b3 avoid a gcc3.3 warning 2003-08-01 13:20:35 +00:00
pk
21a55ba7c3 Fix initialisation of the module_viking_sun4d structure. 2003-08-01 12:29:30 +00:00
pk
d08520ecd9 mainbus_attach: declare appropriate variables for SUN4D too. 2003-08-01 12:25:45 +00:00
pk
184c0df1a9 Get machine/dev/sbusvar.h for SUN4D too. 2003-08-01 12:21:59 +00:00
pk
6dafe11ede Correct some `defined(SUN*)' inconsistencies. 2003-08-01 12:19:50 +00:00
wiz
972f20179d regen (avoid duplicate definition, PR 22331) 2003-08-01 11:55:42 +00:00
wiz
7f48a3b625 Avoid duplicate definitions. From Quentin Garnier in PR 22331. 2003-08-01 11:55:03 +00:00
tsutsui
42bb8b65cc Add majors for MI SCSI devices (cd, ch, ss, and uk). 2003-08-01 01:52:51 +00:00
itojun
79e84682bf keyed-{sha1,md5} should not be truncated to 96 bits. markus@openbsd 2003-08-01 01:47:45 +00:00
tsutsui
7751dc9174 Reserve some major numbers for wscons, as per comments in hp300/conf.c
(which is in Attic) rev 1.47.
2003-08-01 01:43:18 +00:00
tsutsui
16cf56440e Move dev/scsireg.h into stand/common since it is no longer used by kernel. 2003-08-01 01:25:44 +00:00
yamt
db8ced8745 bump kernel version to 1.6W, because of vnode/namecache changes.
(skip 1.6V to avoid confusion.)

pointed by Love.
2003-08-01 01:24:44 +00:00