Commit Graph

63536 Commits

Author SHA1 Message Date
martin dc09fa82ac Fix attachment for sparc64 systems (missing bus_space_vaddr).
Patches submitted in PR 21188.
2003-04-24 05:06:32 +00:00
bjh21 c4987984da Accept standard IEEE 802.3 names for Ethernet medium types.
Suggested by Christos, IIRC.
2003-04-23 23:16:43 +00:00
nathanw 68b16f8c13 Patch from Nick Hudson to clean up a couple of cases in proc_unstop(),
as well as improving the comments a bit. Addresses PR kern/20159.
2003-04-23 21:32:10 +00:00
matt 275eeea6c9 The __wrap_* symbols need to become local symbols. If you have module
x which is dependent y but they both have __wrap_foo, if the __wrap_foo
is not localized, you will get linker truncation messages.
2003-04-23 18:34:20 +00:00
matt 13bf20997a Need to include <sys/sa.h> for <sys/syscall.h> 2003-04-23 17:50:51 +00:00
yamt 5d60643560 use acpi notify mechanism if possible.
XXX i'm not sure if there're PCs that actually need to fall back to polling.
2003-04-23 15:48:35 +00:00
jmmv f302f813f2 Bump ramdisk size to 3000 blocks. 2003-04-23 14:21:07 +00:00
perseant ef3c60764c Make LFS work better (though still not "well") as an NFS-exported
filesystem (and other things that needed to be fixed before the tests
would complete), to wit:

* Include the fs ident in the filehandle; improve stale filehandle checks.

* Change definition of blksize() to use the on-dinode size instead of
  the inode's i_size, so that fsck_lfs will work properly again.

* Use b_interlock in lfs_vtruncbuf.

* Postpone dirop reclamation until after the seglock has been released,
  so that lfs_truncate is not called with the segment lock held.

* Don't loop in lfs_fsync(), just write everything and wait.

* Be more careful about the interlock/uobjlock in lfs_putpages: when we
  lose this lock, we have to resynchronize dirtiness of pages in each
  block.

* Be sure to always write indirect blocks and update metadata in
  lfs_putpages; fixes a bug that caused blocks to be accounted to the
  wrong segment.
2003-04-23 07:20:37 +00:00
uwe d16caf9f8c Add KB_DE | KB_MACHDEP placeholder. Need it for the Jornada 680/690
German (ABD) keyboard layout (to be added soon).
2003-04-23 04:03:58 +00:00
uwe 01b7788331 Constify second argument of table_getnum(). 2003-04-23 03:45:07 +00:00
uwe 5d8b485cc8 Fix dump_node() prototype. 2003-04-23 03:42:21 +00:00
tls 85c8cfb533 Correct use of MAXBSIZE where MAXPHYS was intended. This is a necessary
first step towards per-device MAXPHYS, and has the beneficial side effect
of allowing clustering to MAXPHYS even on systems that need to run with
a reduced MAXBSIZE to get more metadata buffers.
2003-04-23 00:55:17 +00:00
fvdl c6547ba96f Add aapic at pci. 2003-04-22 22:39:25 +00:00
fvdl 8df642c3bd "driver" for AMD 8131 IO apic, appearing in PCI space. Currently only
contains a workaround for a hardware bug.
2003-04-22 22:34:28 +00:00
augustss 4d876de100 Regen. 2003-04-22 22:08:00 +00:00
augustss a237a7a011 Fix some naming bugs. 2003-04-22 22:07:40 +00:00
augustss b12c8ecd7f Add another device. 2003-04-22 22:07:05 +00:00
fvdl 8672af5bd0 Regenerated after AMD 8131 additions. 2003-04-22 20:53:09 +00:00
fvdl 501dfe4285 Add AMD 8131 PCI-X tunnel and IO apic. 2003-04-22 20:52:06 +00:00
christos 77500fa37f forgot one malloc attach/detach 2003-04-22 17:23:47 +00:00
jdolecek 4ecc3047b1 also rewrite emul_find_interp() calls to include the ${COMPAT_UTIL_OVERRIDE}
prefix
2003-04-22 17:23:20 +00:00
christos d864ba0136 fix lkm malloc lossage. 2003-04-22 17:14:12 +00:00
christos baf70d805d explicitly attach and detach malloc types like smbfs does; thanks jaromir. 2003-04-22 16:48:19 +00:00
christos abfff333c3 don't define TRUE and FALSE locally. 2003-04-22 15:10:04 +00:00
thorpej 1b42986cc6 Bump SYMTAB_SPACE a little. 2003-04-22 14:49:13 +00:00
tsutsui 4762c81f53 - #ifdef DEBUG, #if DEBUG -> #ifdef AHC_DEBUG
- TAB/space cosmetics
2003-04-22 14:33:01 +00:00
yamt d99d457173 correct accounting of {exec,file}pages.
they are not updated correctly when breaking loan.
2003-04-22 14:28:15 +00:00
thorpej 49c00b1d84 Use high vectors on IQ80321 and IQ80310. 2003-04-22 14:09:46 +00:00
thorpej efb72f65db Use high vectors on the BRH. 2003-04-22 13:51:11 +00:00
thorpej d1c431c7e1 pmap_link_l2pt(): If not ARM32_NEW_VM_LAYOUT, add an assertion that
the VA that the page table maps is aligned to a 4MB boundary.
2003-04-22 13:49:48 +00:00
christos db7b52084a choose the smaller size of the two strings when memcpy'ing them. A better
fix would be to strncpy and null terminate? From enami.
2003-04-22 13:18:52 +00:00
christos 8906603597 fix wrong calculation. pointed by enami. 2003-04-22 13:11:23 +00:00
bjh21 c6c405019e Include <machine/pio.h> for in8() and in16(). 2003-04-22 11:37:28 +00:00
fvdl 0c0c1c086e Bump the number of level 2 pages for the kernel image. 2003-04-22 11:32:34 +00:00
itojun b2fcce1997 style 2003-04-22 10:08:33 +00:00
thorpej 1f5e3cbbe6 New pmap for netwinder. 2003-04-22 01:42:01 +00:00
thorpej bbef46a7e9 Some ARM32_PMAP_NEW-related cleanup:
* Define a new "MMU type", ARM_MMU_SA1.  While the SA-1's MMU is basically
  compatible with the generic, the SA-1 cache does not have a write-through
  mode, and it is useful to know have an indication of this.
* Add a new PMAP_NEEDS_PTE_SYNC indicator, and try to evaluate it at
  compile time.  We evaluate it like so:
  - If SA-1-style MMU is the only type configured -> 1
  - If SA-1-style MMU is not configured -> 0
  - Otherwise, defer to a run-time variable.
  If PMAP_NEEDS_PTE_SYNC might evaluate to true (SA-1 only or run-time
  check), then we also define PMAP_INCLUDE_PTE_SYNC so that e.g. assembly
  code can include the necessary run-time support.  PMAP_INCLUDE_PTE_SYNC
  largely replaces the ARM32_PMAP_NEEDS_PTE_SYNC manual setting Steve
  included with the original new pmap.
* In the new pmap, make pmap_pte_init_generic() check to see if the CPU
  has a write-back cache.  If so, init the PT cache mode to C=1,B=0 to get
  write-through mode.  Otherwise, init the PT cache mode to C=1,B=1.
* Add a new pmap_pte_init_arm8().  Old pmap, same as generic.  New pmap,
  sets page table cacheability to 0 (ARM8 has a write-back cache, but
  flushing it is quite expensive).
* In the new pmap, make pmap_pte_init_arm9() reset the PT cache mode to
  C=1,B=0, since the write-back check in generic gets it wrong for ARM9,
  since we use write-through mode all the time on ARM9 right now.  (What
  this really tells me is that the test for write-through cache is less
  than perfect, but we can fix that later.)
* Add a new pmap_pte_init_sa1().  Old pmap, same as generic.  New pmap,
  does generic initialization, then resets page table cache mode to
  C=1,B=1, since C=1,B=0 does not produce write-through on the SA-1.
2003-04-22 00:24:48 +00:00
fvdl 3f5d6a0d73 Remove unused variable. 2003-04-21 22:00:42 +00:00
fvdl 9ec222cfbe Remove trigraph. 2003-04-21 21:49:31 +00:00
fvdl 2674450fcb Avoid trigraph in string. 2003-04-21 21:45:59 +00:00
fvdl 13b6cff110 Reset bus in attach, not at first access. 2003-04-21 20:05:26 +00:00
fvdl 11e1ebb8dd Reset channel(s) in ahc_attach, rather than at first access. 2003-04-21 19:59:48 +00:00
fvdl 1adc169997 Add NetBSD RCS Id. 2003-04-21 18:12:22 +00:00
fvdl 8775f88505 Add another IBM drive that incorrectly reports DT only. 2003-04-21 18:07:14 +00:00
fvdl d7ad58b224 Add file that I missed when adding the ahd driver. 2003-04-21 16:53:59 +00:00
fvdl 7c5409295c Set/report DT a bit more correctly. 2003-04-21 16:52:07 +00:00
augustss 7d5779ad01 Recognize more devices. From FreeBSD. 2003-04-21 16:38:34 +00:00
augustss 6be8a91f88 Add quirk. From FreeBSD. 2003-04-21 16:37:42 +00:00
augustss 33011a8fcf Regen. 2003-04-21 16:37:14 +00:00
augustss ac600b6a72 Add more devices. From FreeBSD and OpenBSD. 2003-04-21 16:36:52 +00:00