Commit Graph

32899 Commits

Author SHA1 Message Date
perseant
26c34e715f If ifile blocks were written before dirops were complete, and then the
system crashed, inodes could be allocated that were not referenced.  (Though
not a serious problem, it evidences itself in phase 4 of fsck_lfs.)  Fix
this by marking if_daddr with UNASSIGNED before the inodes are actually
written; at mount time the ifile is checked for UNASSIGNED entries and
any that are found are linked back into the free list.  (The latter
functionality should move into the roll-forward agent when it materializes.)
1999-11-09 02:21:05 +00:00
pk
560567d851 Include <sys/exec.h> instead of <a.out.h>/ 1999-11-08 23:29:56 +00:00
pk
a96dbfa190 Remove inclusion of unused headers. 1999-11-08 23:29:05 +00:00
joda
1b686307cb correct number of BAR:s in cardbus_cis_info 1999-11-08 20:21:24 +00:00
joda
fe2d79ec9a Let decode_tuples take function to call for each tuple, and use this
to get some vital information from the CIS (some network cards need
this to get the mac-address). This should be merged with the related
code for PCMCIA cards, but that requires more thought.
1999-11-08 20:19:10 +00:00
joda
dbb2685da6 add some bare-bones CIS information to the attach_args struct 1999-11-08 19:59:08 +00:00
joda
f6be3b394d regen 1999-11-08 19:57:32 +00:00
joda
19ff47781e copy xircom entries from pcidevs 1999-11-08 19:57:13 +00:00
mhitch
f4fa9aae9f When the framebuffer is closed, reset the keyboard. We don't know what the
X server may have done with the keyboard state.  X11R6 was changing the
keyboard modes, which were not compatible with the lk201 keyboard handling
in NetBSD.
1999-11-08 18:41:32 +00:00
sommerfeld
1cfdb728d0 avoid touching freed mbuf after allocation failure. 1999-11-08 15:56:16 +00:00
sommerfeld
66ab262b1c add a bunch of debug printfs under IFF_DEBUG and IFF_LINK2;
turn on IFF_DEBUG to trace the management protocol goo.
turn on IFF_LINK2 as well to see beacons.
1999-11-08 15:45:00 +00:00
sommerfeld
94bb856781 misc cleanups; seems to work a little better in a dense-AP environment now.
1) ignore probe requests rather than printing "unknown mgmt subtype"
	(cosmetic)
 2) don't panic if mget of the 2nd mbuf in a chain fails (patch from MCR)
	(though that whole function badly needs to be rewritten)
 3) be a little more tenacious about hanging on to an access point.
1999-11-08 13:24:00 +00:00
augustss
9cec807b1c Return -1 from wsmux_displayioctl() if no muxes components like the ioctl(). 1999-11-08 10:10:25 +00:00
mycroft
336e3613c3 Kill wsmux. DIE DIE DIE! 1999-11-08 06:17:42 +00:00
eeh
86667308d7 Implement sysctl machdep.booted_kernel. 1999-11-08 05:06:42 +00:00
eeh
5ce41ef1f2 Fix boot device detection code. 1999-11-08 05:05:26 +00:00
mycroft
fb17cb2665 Disable wsmux for now. 1999-11-08 04:50:30 +00:00
mycroft
0c1542d9a4 Apply wrstuden's stopgap change to make alpha/macppc X work without wsmux. 1999-11-08 04:48:18 +00:00
mhitch
8008907a4c && doesn't work very well for testing a flag - tcds_params() was always using
the baseboard ID and FAST settings instead of getting them from the TC option
card EEPROM.
1999-11-08 03:00:32 +00:00
mycroft
a1ec263481 Builds LKMs on PowerPC (although there are still some issues with loading
them).
1999-11-08 00:16:40 +00:00
thomas
938dcb33e9 Align IO and memory of PCI devices. 1999-11-07 22:23:05 +00:00
mhitch
5239567fb0 Don't use MIPS3_L2CACHE_ABSENT to control compiling the Level 2 cache flush
in pmap_remove_pv().  Also comment why I'm doing the second cache flush
operation.
1999-11-07 19:42:23 +00:00
chs
f4dbce1e9a in copy{in,out,}str(), return an error if maxlen == 0. 1999-11-07 17:31:37 +00:00
chs
f1c14a8b5d in copystr(), be sure to return an error if maxlen == 0. 1999-11-07 17:01:20 +00:00
pk
1ad621b38f Handle empty `input/output path' when looking for console device; patch
from Brian D. Chase.
1999-11-07 16:36:16 +00:00
uch
2cf4f4b9b6 Clear interrupt status before dispatch handler. 1999-11-07 14:07:50 +00:00
mrg
defe7bd119 make this compile without DEC_3000_300 1999-11-07 09:14:34 +00:00
scottr
4ecba735df Garbage collect adb_initted. 1999-11-07 08:22:50 +00:00
scottr
0b8b3c403e In the interrupt handlers, check adb_polling instead of
adb_initted to decide whether to handle 'recovered' interrupts
immediately.
1999-11-07 08:18:24 +00:00
scottr
26208b5e57 Garbage-collect adb_init(). It's been dead for a long time. 1999-11-07 08:08:10 +00:00
scottr
c11dd8b6dd We want adb_polling set regardless of whether we're using the MRG driver. 1999-11-07 08:07:20 +00:00
enami
8567277ae0 Print range of all iospaces or all memspaces if their length aren't zero. 1999-11-07 07:44:21 +00:00
mycroft
277394fdd3 Fix WARN_REFERENCES() here for the ELF case. 1999-11-07 07:20:26 +00:00
mycroft
cf29975968 Hack to work around _C_LABEL() fallout so WARN_REFERENCES() works again. 1999-11-07 07:12:07 +00:00
cgd
b4560adaf2 regen 1999-11-07 07:03:08 +00:00
cgd
7867af6cfb back out rev 1.166:
(1) the list added isnt' complete and i'd call it incorrect.  (There are
    other devices with these names, where were omitted.  I've never seen
    the devices with these IDs, I _have_ seen the other devices that go
    by these names.)
(2) the PR (8754) had not been updated to note that the problem was
    fixed, and i'd preiously asked the submitter for more information and/or
    a corrected list.
1999-11-07 06:59:46 +00:00
scottr
8da942f249 Oops... last rev created an unused variable. While here, clean up
adb_reinit()'s variables a bit, too.
1999-11-07 06:15:09 +00:00
scottr
23411c4c1b Convert one more buffer copy that I missed in rev 1.28. 1999-11-07 05:50:26 +00:00
mycroft
4c0911c827 Make this more current. 1999-11-07 01:09:12 +00:00
mycroft
6816b631ab Nit: Make bootrealseg conforming. 1999-11-07 01:06:37 +00:00
mycroft
f991846760 Make this a little more current. 1999-11-07 01:04:59 +00:00
scottr
a7628ea793 Always using polling for poweroff (from macppc). 1999-11-07 00:16:39 +00:00
scottr
27adad708f ite_polling -> adb_polling 1999-11-07 00:12:55 +00:00
scottr
57dc0b9f46 We need adb_initted in a couple of places; declare it here. 1999-11-07 00:12:54 +00:00
scottr
ad43c94436 ite_polling -> adb_polling 1999-11-07 00:12:53 +00:00
scottr
c827b513ac Convert buffer copies to memcpy(). 1999-11-06 23:50:29 +00:00
scottr
12a535f5ef Add more delay in adb_reinit() (from macppc). 1999-11-06 23:44:32 +00:00
mhitch
93598fd12b Cleanup pmap_remove_pv() a bit:
Page mod/ref status is stored in the pv header, and needs to be copied to
    the following entry when removing the head entry, otherwise the status
    will be lost (oops!).
  Move the common MIPS3 cache flush into pmap_remove_pv() and eliminate the
    unnecessary testing of the return value when only compiled for MIPS1.
  If the pv entry had the cache inhibited, and we remove the last cache index
    alias conflict, restore caching on the mappings for that entry.
  Eliminate possible extra cache flushing inherited from the pica pmap:  it
    was doing the flush when the head entry was being removed - not just the last
    entry.  Now the flush is done only when the last mapping has been removed.
    Also make sure the secondary cache gets flushed [MIPS3 cache flushing needs
    to be re-thought/re-done someday].
  Update comment for pmap_remove_pv() to reflect these changes.
1999-11-06 23:18:04 +00:00
scottr
560a7ef713 Change the behavior of spladb() so that it raises the IPL only
high enough to block ADB interrupts.
1999-11-06 23:05:40 +00:00
scottr
c738f52fb3 Update an outdated comment. 1999-11-06 22:44:52 +00:00