Commit Graph

39071 Commits

Author SHA1 Message Date
fvdl
7c1d5ec58f Correct typo in previous. 2000-07-03 18:22:10 +00:00
dante
fa845b7795 Fix a off-by-one error in sc_freeze_dev[].
Thanks to kwesterback@home.com
2000-07-03 18:14:18 +00:00
eeh
968524445a Prevent interrupts from being posted if they are active and deprecate polled
interrupts.  This seems to eliminate the spurious interrupts.
2000-07-03 17:56:06 +00:00
thorpej
10e6c623b3 Print the system serial number. 2000-07-03 17:52:33 +00:00
eeh
58c36586cd Use the same IPLs as everyone else. 2000-07-03 17:42:37 +00:00
mrg
16fd30ec1d - add a bus class check to the conversion of prom names to NetBSD driver
names, as we need to convert `pci' to both `psycho' and `simba'.  add
a member to dev_compat_table[] for this, using BUSCLASS_NONE for when
we don't care (all other cases, currently).  add `ide' -> `pciide' and
`disk' -> `wd' mappings here, also.
- "psycho" is a BUSCLASS_MAINBUS device; it has UPA attachment semantics.


this fixes bootpath detection for IDE disks.
2000-07-03 14:38:05 +00:00
soren
df788ce137 A few tweaks. Still not a real driver. 2000-07-03 12:50:09 +00:00
scottr
d08e3b12a4 Stabilize ADB support for some non-Apple ADB peripherals. This is the
second (and final) part of the fix for PR 10086.  (There are no longer
any infinite-wait busy loops in the ADB driver!)
2000-07-03 08:59:26 +00:00
perseant
235a4dd595 i_lfs_effnblks fixes. Put debugging printfs under #ifdef DEBUG_LFS. 2000-07-03 08:20:58 +00:00
gmcgarry
cc05a49fb0 Regen. 2000-07-03 06:05:44 +00:00
gmcgarry
72cbe1224d Devices found in NEC Versa Note VX 2000-07-03 06:01:17 +00:00
matt
4f1fa84a93 Rework ALTENTRY a bit. 2000-07-03 04:24:56 +00:00
matt
959b8d8a1e Make cross-compile friendly 2000-07-03 04:24:12 +00:00
cgd
116f7a6983 don't include the config-generated headers if _LKM defined 2000-07-03 02:16:07 +00:00
sommerfeld
88067a43e3 Build a boot_big.net (based at 700000) in addition to boot.net,
allowing you to netboot a kernel with a ramdisk inside on systems
where memory is laid out to allow this.
2000-07-03 02:04:02 +00:00
thorpej
01bd2a3496 The `rpb_phys_address_size' field is really 2 32-bit fields,
`rpb_phys_address_size' and `rpb_extended_va_size', per Brown Book.
2000-07-03 01:47:48 +00:00
perseant
ef2da50400 Allow the number of free segments reserved for the cleaner to be
parametrized in the filesystem, defaulting to MIN_FREE_SEGS = 2 but set
to something more reasonable at newfs_lfs time.

Note the number of blocks that have been scheduled for writing but which
are not yet on disk in an inode extension, i_lfs_effnblks.  Move
i_ffs_effnlink out of the ffs extension and onto the main inode, since
it's used all over the shared code and the lfs extension would clobber
it.

At inode write time, indirect blocks and inode-held blocks of inodes
that have i_lfs_effnblks != i_ffs_blocks are cleansed of UNWRITTEN disk
addresses, so that these never make it to disk.
2000-07-03 01:45:46 +00:00
sommerfeld
9f0522fe59 Keystone Kwality Kops: add multiple-include protection. 2000-07-03 01:19:23 +00:00
augustss
01d5ad3ab6 White-space improvements. 2000-07-03 01:17:35 +00:00
augustss
feb8219648 Regen. 2000-07-03 01:07:25 +00:00
augustss
3c9acfbb29 Add some Alcor products. 2000-07-03 01:07:04 +00:00
itojun
f0d7296dc1 typo in previous 2000-07-02 21:25:41 +00:00
pk
2310f6d755 Add `ahc' (Adaptec 2940, et.al. SCSI controller); it is known to work. 2000-07-02 21:11:26 +00:00
scottr
da62d2ef12 Avoid attaching on the Mac TV, as this system seems to not be
completely backward compatible to the II-series sound hardware.
2000-07-02 21:10:14 +00:00
itojun
e29fba4ba7 do not touch struct ip6stat on non-INET6 compilation.
From: Paul Goyette <paul@whooppee.com>
2000-07-02 21:05:41 +00:00
sommerfeld
56cc62bbec Return the full width of the counter here. 2000-07-02 21:05:14 +00:00
sommerfeld
06f1d399e2 Take just the low-order 32 bits of cpu_counter() here. 2000-07-02 21:04:33 +00:00
scottr
95497e28ce Add video hardware info for the Performa 550 and Macintosh TV. 2000-07-02 20:59:58 +00:00
cgd
ca8479389a oops! include arp.h and ppp.h even if _LOCORE defined 2000-07-02 19:58:31 +00:00
sommerfeld
4cc38b65e0 Reduce namespace pollution from netcciitt-land 2000-07-02 17:40:18 +00:00
thorpej
1079b4c0ac - Avoid an integer overflow when checking if we have exceeded our
rlimit in sbrk.  Slightly modified from a patch from Artur Grabowski.
- Rearrange code slightly, partially from Artur Grabowski.
- Only adjust vm_dsize if the grow or shrink actually succeeds.
2000-07-02 17:40:08 +00:00
sommerfeld
c93db19567 Merge if_spppsubr.c PPP protocol declarations list with the one found
in ppp_defs.h, and have if_spppsubr.c include ppp_defs.h rather than
duplicate its definitions.

[This is a stopgap measure to clean up build lossage.]
2000-07-02 17:38:09 +00:00
sommerfeld
601b2f3467 One more file missing multiple-include protection. 2000-07-02 17:35:00 +00:00
sommerfeld
b083107c2e Add multiple-include prevention to several headers which were missing
it.

Split ccittintr() declaration into a separate header file so that the
non-namespace-safe cruft in pk.h doesn't interfere with other
subsystems which happen to include netisr.h

[Clean up after the Keystone Kwality Kops]
2000-07-02 17:34:01 +00:00
eeh
f504adf782 Clean up interrupt handling some more. 2000-07-02 16:13:21 +00:00
mrg
f3e6e48cb8 update to reality:
- TRAPWIN is defined in locore.s
- don't config netbsd_wd0
- enable MSDOSFS and FFS_IE
- enable INET6 & IPSEC*
- enable ipfilter
- comment sbus & zs at sbus
- enable scsi devices seeing we have scsi bus support
- hardwire the onboard hme as 'hme0'
- disable audiocs for now
- disable rnd for now
2000-07-02 15:02:29 +00:00
mrg
585f7645bf iommu_dvmamap_load*(), pass an alignment constraint, as well as
EX_BOUNDZERO, to extent_alloc().  this fixes problems with it
(extent_alloc()) returning incorrect values, when the start of
the extent is not aligned as strongly as the requested area..

raw access to ide disks now works.
2000-07-02 14:00:38 +00:00
mrg
15c79c03c2 use bitmask_snprintf(). 2000-07-02 13:35:35 +00:00
mrg
9ec4bcf95b whoops; turn off trapdebug again. 2000-07-02 12:39:01 +00:00
takemura
45b6ec5476 Experimental APM compatible power management. 2000-07-02 10:01:30 +00:00
itojun
6fff122160 drop packet to tentative/duplicated interface address earlier. sync w/kame 2000-07-02 09:56:39 +00:00
takemura
0d28ab1838 Common part of APM (advanced power management) support for Hpcmips. 2000-07-02 09:48:12 +00:00
itojun
8ff902fca1 repair kernel faithd(8) support. there were two mistakes:
(1) tcp6_input dropped packets for translation
(2) in6_pcblookup_connect was too strict
2000-07-02 08:04:10 +00:00
cgd
1ce8331ad9 nuke some final __BROKEN_INDIRECT_CONFIG bits that weren't caught by
unifdef last time.  (bloody things just won't stay dead!)
2000-07-02 06:25:46 +00:00
cgd
0b9c36b715 undef PS after inclusion of net/netisr.h to avoid conflict w/ machine/reg.h 2000-07-02 05:43:43 +00:00
cgd
a5c13f9ad4 Kwality control:
* put #includes of opt headers and headers to get protos used by
  net/netisr_dispatch.h in net/netisr.h (if !defined(_LOCORE)) (rather than
  in netisr_dispatch.h itself, and potentially nowhere, respectively).
* require netisr.h to be included before netisr_dispatch.h.
* minor additional cleanup of both netisr.h and netisr_dispatch.h.
* clean up uses to remove now-unnecessary header file inclusions, and
  local prototypes of the fns.
* convert netisr dispatch implementations which didn't use
  netisr_dispatch.h (pc532) to use it.
2000-07-02 04:40:33 +00:00
thorpej
b36ce94c6b Convert `gif' to be a cloning interface. 2000-07-02 00:21:42 +00:00
thorpej
1e58f22342 Add the notion of "cloning" of network pseudo-interface (e.g. `gif').
This allows them to be created and destroyed on the fly via ifconfig(8),
rather than specifying the count in the kernel configuration file.
2000-07-02 00:20:48 +00:00
bjh21
87ca5edd6f Include all the files necessary to prototype all the network soft interrupts. 2000-07-01 21:52:05 +00:00
sommerfeld
8f2d5e3219 Don't rate-limit ICMP errors from packets we send to ourselves.
The dns resolver depends on reliably receiving errors to allow it to
quickly detect a dead local nameserver.
2000-07-01 21:46:40 +00:00