Commit Graph

98903 Commits

Author SHA1 Message Date
matt da483421e8 Add IBM750FX (0x7000) 2002-06-20 23:51:22 +00:00
itojun 92cb1aaac7 more proper fix to ex_disable. 2002-06-20 23:47:25 +00:00
itojun 8b835b91d2 make it compile (ex_disable).
not sure if it is 100% right.
2002-06-20 23:38:47 +00:00
itojun 6dc6d89865 minor KNF 2002-06-20 23:02:06 +00:00
perseant 0418a2c352 Fix miscalculation in lfs_fits found by Trevin Beattie <trevin@xmission.com>.
Change some of the variable names from "nb", "db" to "fsb" to reflect their
calling conventions.
2002-06-20 22:10:24 +00:00
atatat 40bd599a90 It's easy for ktrace can generate trace files that contain data from
multiple processes, so let's add a "-p pid" option to kdump so that it
can pull out the data for one process easily.
2002-06-20 22:02:32 +00:00
bouyer d6f2dbe491 Correct spannish mapping. Fix kern/15509 by Julio Merino <juli@merino.net>. 2002-06-20 21:03:19 +00:00
perseant ae37d9d186 Don't bomb out of lfs_bmapv if the caller is requesting blocks that
live in the current segment.  There's nothing wrong with this, and
it is necessary for the correct operation of the coaleascer.
2002-06-20 20:43:17 +00:00
mbw c3df1883e2 Update for 1.6, remove some stuff that was new in 1.5. 2002-06-20 20:23:23 +00:00
thorpej cba89d9d80 If the chip supports ACPI power management:
* Go to D3 if IFF_UP == 0.
* Go to D0 if IFF_UP == 1.

Saves battery life on my T21, mmm.
2002-06-20 20:17:04 +00:00
mbw 4c8425fedc more detail about bootloader on MS-DOS partition
mention that monitor must support resolution of Open Firmware, which may
  be that of previously selected res in MacOS.
2002-06-20 20:06:20 +00:00
mbw d6fd85bf9c iBook (Summer 2002) works according to itojun
PowerMacintosh 4400, Moto Starmax 3000 and 4000, and APS Tech M*Power
  now boot with internal video in -current and 1.6 with todays commits
2002-06-20 20:05:16 +00:00
bjh21 7fa10fa259 Rather than explicitly masking and sign-extending 16-bit integers, use
u_int16_t and int16_t for the X and Y count registers.  GCC produces better
code this way.
2002-06-20 19:33:36 +00:00
bjh21 c62bc841d0 Rather than explicitly masking and sign-extending 16-bit integers, use
u_int16_t and int16_t for the X and Y count registers.  GCC produces better
code this way.

Also, initialise the stored state in wsqms_enable(), so that the mouse doesn't
warp to a random position on open.
2002-06-20 19:33:20 +00:00
eeh 5c6bf5ad03 Overhaul streaming buffer handling:
sysio streaming buffer flushes write a single 8-byte aligned 8-byte
	value.

	psycho streaming buffer flushes write a 64-byte aligned 64-byte block.

So separate out the streaming buffers into their own structure and pass those
in to all iommu operations.  This also means we only flush the correct
streaming buffer for psycho rather than needing to flush both just in case.
2002-06-20 18:26:23 +00:00
chs faab7dbb46 count aobj pages (most notably kernel stack pages) as anon pages
for memory usage-balancing purposes.
2002-06-20 15:05:29 +00:00
itojun 3a63625506 mention devices supported by netdock(4) 2002-06-20 13:24:37 +00:00
wiz bb6cdafc30 Undo last. usb.h is already in comp/obsolete.mi. 2002-06-20 13:14:26 +00:00
dsainty 7ab03847f7 Add /usr/include/usb.h, which was replaced by /usr/include/usbhid.h
some time ago (2001/12/28)
2002-06-20 12:37:10 +00:00
blymn d051a5de87 Added a NOTES section to describe the differences between our menus
library and the original AT&T one.
2002-06-20 12:18:48 +00:00
itojun 70cb50a3c5 typo (unneeded whitespace) 2002-06-20 12:14:08 +00:00
itojun 65ef1d4426 correct conflicts.
sync document with reality (dig/host/nslookup now does IPv6 transport!)
2002-06-20 12:01:49 +00:00
itojun ce924b0f55 sync with 8.3.2. 99% of conflicts were due to $NetBSD$ tag. 2002-06-20 11:42:53 +00:00
leo 611cf2eb19 Adapt for the atari. Also add some braces to make the if-switch do what I
think it should do.
2002-06-20 10:44:07 +00:00
itojun 123de7c9ca ISC BIND 8.3.2. various IPv6 fixes and correctins. 2002-06-20 10:29:14 +00:00
agc 1e4714b470 Slight changes to the English. 2002-06-20 10:07:42 +00:00
augustss e260c9c053 Regen. 2002-06-20 09:20:53 +00:00
augustss 3f0be9ae1b Add Nike psa[play 120. 2002-06-20 09:20:36 +00:00
itojun c7756bc7c4 reject packets with private address (follow RFC). sync w/kame 2002-06-20 09:12:08 +00:00
enami d76e8e25bc Shift by PAGE_SHIFT instead of dividing by PAGE_SIZE. 2002-06-20 08:24:22 +00:00
enami 448f2a8c1a Fix whitespace usage in comment. 2002-06-20 08:21:59 +00:00
enami fbd7819d66 Change directory to .CURDIR before invoking ${MAKE}. 2002-06-20 08:21:23 +00:00
itojun a10b39ecad reject packets with IPv4 private address range. sync w/kame 2002-06-20 07:43:39 +00:00
enami af1c533269 Don't copy from destination to destination. 2002-06-20 04:01:43 +00:00
itojun 3edd23835b s/duo/duo series/, as it may work on non-230 powerbook duo. 2002-06-20 02:24:05 +00:00
christos c5ccbb71e5 remove syscall debugging code; thanks eduardo for fixing the code! looks
much nicer now.
2002-06-20 00:55:39 +00:00
bjh21 4244560bbc More wsqms cleanups:
sc_flags was never read.  G/C it.
wsqms_attach() took two arguments that pointed to the same structure.  G/C one
  of them
Since wsqms controls the same device as qms, have it match the same attach
  args.
2002-06-19 23:49:14 +00:00
itojun 8b228ca304 use macro to determine link-local multicast addr 2002-06-19 23:38:59 +00:00
eeh 4283dfcbf3 Use the number of args in the sysent rather than calculating it from the
sysent's argsize.  It should be faster and fix 32-bit compat emulations.
2002-06-19 23:35:35 +00:00
eeh dcabee4011 Get ktrace working once more. 2002-06-19 23:32:01 +00:00
bjh21 06eecc6ca0 $Id$ -> $NetBSD$ (oops). 2002-06-19 23:27:48 +00:00
bjh21 cccb2d97a7 ANSIfy, un-__P, clean comments a little. 2002-06-19 23:12:14 +00:00
bjh21 26f6ad6038 Un-__P. Clean up comments. 2002-06-19 23:05:07 +00:00
bjh21 f793a16211 Substantial overhaul of the wsqms driver:
Use a callout rather than hanging off the VSYNC interrupt.
Don't emit WSMOUSE_INPUT_ABSOLUTE events, since this isn't an absolute device.
Handle counter wrap-around sensibly, rather than limiting counts.
Don't gratuitously copy sc->sc_dev onto itself at attach time.
2002-06-19 23:02:58 +00:00
bjh21 a7f527777e Move over to using a 6:5:5 R:G:B palette in 16-bit display modes, and abstract
the palette generation to work with arbitrary numbers of bits.
This allows X to work after a fashion, since it tries to put the VIDC into
a 6:5:5 mode itself (which we ignore).  Anything that actually tries to take
advantage of the DirectColor visual it offers will still be screwed, but I
hope such applications are rare.
2002-06-19 22:42:02 +00:00
briggs 029a7e8e9a - The 8240 and 8245 have a 603 core -- add them to the 603 lists...
- Use atop(dcache_size / assoc) for uvm_page_recolor(ing) instead
  of  atop(dcache_line_size / assoc).
2002-06-19 17:43:30 +00:00
briggs d6cfd2cc8c Include the Processor ID for the MPC8245. 2002-06-19 17:39:26 +00:00
eeh 84c049f196 Match the Solaris siginfo layout for _LP64. 2002-06-19 17:33:01 +00:00
wrstuden 2eb3dc82d8 Fix recent bugs seen on Performa 4400 macppc's by
Makoto Fujiwara <makoto@ki.nu> and Manuel Bouyer <bouyer@netbsd.org>.
Help from Allen Briggs, Jason Thorpe, and Matt Thomas.

We need to call cpu_cache_probe() early in boot (machdep.c).
Add 603 info for completeness, and use NBPG not PAGESIZE, as the
latter relies on uvm being setup (cpu_subr.c).
Let uvm_page_recolor() be called before uvm has been set up; just
note the page coloring value (uvm_page.c).
2002-06-19 17:01:18 +00:00
itojun 9be14081f9 identify kame scopeid hack with KAME_SCOPEID 2002-06-19 16:42:09 +00:00