Commit Graph

115778 Commits

Author SHA1 Message Date
bsh 388f0338ac option SSCOM_S3C2800 is needed for S3C2800 based platforms. 2003-08-04 12:35:51 +00:00
bsh 50c0756fc2 bit polarity of interrupt mask registers don't match between s3c2800
and s3c24[10]0.  define macro s3c2xx0_update_hw_mask() for it.
2003-08-04 12:34:08 +00:00
bsh 950a49dffb initialize global_intr_mask. 2003-08-04 12:31:12 +00:00
bsh 1df8bfd121 Samsung's S3C2800 and S3C24[10]0 CPUs have same built-in UART block,
but there are very small diffs in register definitions.  For that, add
new options SSCOM_S3C{2800,2410,2400} and include appropriate
s3c*reg.h.

SSCOM_S3C2410 is also needed for interrupt controller differences.
2003-08-04 12:28:49 +00:00
bsh b335250276 + fix TCON register bit definitions. Thank you Samsung for stupid
register design.

+ add definitions for UART registers that are not compatible with
  S3C2800's.
2003-08-04 12:19:38 +00:00
bsh 23ba082952 + cleanup attach message.
+ use aprint_normal()
2003-08-04 12:09:19 +00:00
itojun 4c488f6bec always print prefixlen for routes. it's CIDR age. 2003-08-04 11:10:33 +00:00
bsh d10f592c16 fix comments. 2003-08-04 10:24:15 +00:00
dsl 0ca66aa416 mbr partition stuff isn't saved here (or anywhere else) anymore. 2003-08-04 10:09:10 +00:00
skrll 0dcbb09c7a Put a quote in the right place. 2003-08-04 09:23:50 +00:00
mrg 9abaf7289a sprinkle some LL suffixes on >32 bit number literals 2003-08-04 07:00:19 +00:00
mrg 3b9c25da9b install cpp.1 and now that g++.1 is just ".so man1/gcc.1", instead link
g++.1 (and c++.1) to gcc.1 in our install tree.
2003-08-04 06:58:19 +00:00
wiz af5407f23f Fix typo, reported by Geoff C. Wing in PR 22351. 2003-08-04 05:53:36 +00:00
mrg 9347d6de64 add initial support for gcc3 2003-08-04 05:53:20 +00:00
itojun 18232c74bc regress test for libdes (destest.c from 0.9.6j) 2003-08-04 04:20:25 +00:00
itojun fc35b1fd89 /lib/libdes.so* must be removed due to des_xx -> DES_xx API change
(otherwise -ldes will not work)
2003-08-04 04:15:24 +00:00
grant c6a7fea713 new sentence, new line. 2003-08-04 02:22:48 +00:00
mrg 2fe59400d5 bump the major on these 2003-08-04 01:53:51 +00:00
mrg 134561f7df - convert header() away from a signal function (it does all sorts of stdio
and more) and use a little sig_header() helper.
- in selectdrives() make sure we don't overwrite some arrays.  this makes
"iostat 1" work again on my really wide screens where defdrives (number that
can fit) was > ndrives (number of drives), rather than dump core trying to
print (char *)1...
2003-08-04 01:05:44 +00:00
uwe cb445c2c44 #define NO_PROFILE_COUNTERS as we don't need them. Otherwise both the
code to emit profile counters and the FUNCTION_PROFILER macro in this
file emit/define the same label.  For gcc 2.95.3 it used to work
because FUNCTION_PROFILER used local numeric labels instead of using
LABELNO, so it caused no conflict.

This makes -pg code compilable.
2003-08-04 00:52:43 +00:00
matt 9b7d071bab Eliminate stmw/lmw substituting the individual load/store instructions.
Use more symbolic constants.  These are now safe for use on PPC64.
2003-08-04 00:32:49 +00:00
matt a4a468e215 Add SFRAME_USER_SR (even though the 4XX doesn't have one). 2003-08-04 00:30:51 +00:00
christos be02f6d68d avoid the pruned type gcc-3.x warning. 2003-08-04 00:26:09 +00:00
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
provos ccc5fba3de Implement -iname for case insensitive matching on file names.
From freebsd/openbsd.  Approved by jaromir@, manu@, perry@.
2003-08-03 19:46:03 +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
jdolecek fad5af1f3b add -DHAS_ISBLANK to CPPFLAGS, so that current nawk would use our isblank(3)
instead of it's own; pointed out by Stefan Kruger in private e-mail

add rules to install the gawk info file too; it's useful to have installed,
and allows nawk to be drop-in replacement without need to adjust file lists
2003-08-03 17:19:45 +00:00
tron ce7972a7a1 Add EPSON Perfection 1260, 1660 and 2400 to list of support scanners. 2003-08-03 15:25:48 +00:00
jmcneill 339f87dc7f Document options ESA_NUM_VOICES, and update my email address. 2003-08-03 15:13:57 +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
jdolecek ecb9302c7f if kvm_nlist() fails, nlisterr() would be called before the screen
curses context would be initialized; just use errx() instead in this case
this fixes coredump for cases like 'systat -N /netbsd.gz', reported by Walt
on port-i386

in nlisterr(), wait a while (5 seconds currently) before exiting, so that
it would be actually possible to actually see the error
2003-08-03 12:14:58 +00:00
jdolecek 37870ec770 mark nlisterr() as 'noreturn' 2003-08-03 11:56:57 +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
itojun 2e48312004 be more pedantic to strlcpy/strcat errors 2003-08-03 04:35:50 +00:00
itojun 785d6ef678 use strlcat for safety 2003-08-03 04:14:00 +00:00
itojun d6220d9ca5 fix off-by-one error in realpath() 2003-08-03 04:12:01 +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
jdolecek f622478626 Update nawk entry 2003-08-02 22:43:00 +00:00