Commit Graph

62830 Commits

Author SHA1 Message Date
augustss 8b5373dd2e Use reference counting on the softc so detach doesn't blow it away prematurely. 2000-04-05 11:11:33 +00:00
erh 36d859ee23 Add snprintf.c to get quad_to_string(). 2000-04-05 10:29:37 +00:00
jdolecek 8857b94a5c winchip_cpu_setup(): restructure code to avoid warning when I586_CPU is not defined 2000-04-05 10:09:50 +00:00
mrg add6dbf96c clean this up some. 2000-04-05 08:03:03 +00:00
mrg f4e31c4b14 attach auxio at ebus 2000-04-05 07:58:44 +00:00
mrg 9933bfdf9c driver for the PCI/ebus AUXIO registers. 2000-04-05 07:52:48 +00:00
jdolecek 7bc4915fcd Disable TSC on WinChip C6, add WinChip 2 & WinChip 3 entries.
From Kamo Hiroyasu <wd@ics.nara-wu.ac.jp> OpenBSD kern/991
via Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2000-04-05 07:46:33 +00:00
scottr 3ca0215f69 Correct a pasto in pm_pmgrop_pm1(); while there were no negative side
effects, the place this code ended up couldn't have had any positive
effect, either.
2000-04-05 07:29:18 +00:00
scottr 15a3a17a43 Correct a few instances where we returned from a function that
had set splhigh() but returned without restoring the previous spl.
The PowerBook keyboard works better, now, but still starts to flake
out pretty badly at 70+ wpm.
2000-04-05 07:18:07 +00:00
mrg 952f1cf1d0 avoid using uninitalised variables inside WDCDEBUG. 2000-04-05 06:27:36 +00:00
mrg 508af4078f - go through a list of kernels like other ports do.
- don't drop off the partition from the boot device, so that we
  can boot from partitions that aren't the start of the disk...
2000-04-05 06:23:33 +00:00
mrg 66ca8568fe minor cleanup. 2000-04-05 06:21:14 +00:00
mrg f3468bd3d8 use DPRINTF() style debug messages; s/sbus/iommu/ in a few remaining places. 2000-04-05 05:59:03 +00:00
mrg 36b65b7d48 return if we can't map DMA buffers 2000-04-05 05:54:02 +00:00
enami 07702f68a6 Introduce new filesystem type FS_CCD so that an operator can mark the
ccd component partition.  Note that the ccd driver still allows partitions
of any types as components since an on-disk BSD disklabel isn't available
on some port.
2000-04-05 04:03:20 +00:00
enami 2903a6278e - Remove empty line before .Pp
- Remove .Pp before .Sh
2000-04-05 03:29:06 +00:00
enami 551a5b2934 Add missing reset nS to 0. 2000-04-05 03:21:31 +00:00
mrg fe2a55b12c include opt_ddb.h. use generic iommu enter/remove/flush routines 2000-04-05 03:08:03 +00:00
mrg ef18ba9083 include opt_ddb.h 2000-04-05 03:05:15 +00:00
mrg 7928eb6d98 add "hme at pci" support. also, add "nsphy at mii" and other mii stuff 2000-04-05 02:34:19 +00:00
mrg 710872c1d0 add "hme at pci" support. 2000-04-05 02:31:19 +00:00
pk 99dbc425e9 Use copyin/copyout to get a colormap from/to user space.
Also, prepare for the case of a colormap maintained in kernel space.
2000-04-04 21:47:17 +00:00
nathanw 2d78be17d1 Fix computation of ri_xorigin in RI_CENTER case; convery from bytes to
pixels, not from bytes to bytes^2/pixel.
2000-04-04 20:59:17 +00:00
augustss 36b5d25ca8 Make protocol message more accurate. 2000-04-04 20:16:47 +00:00
augustss a94b555441 Put a ratecheck on error messages from the interrupt pipe. 2000-04-04 20:16:19 +00:00
thorpej 5ecdfa3fc0 Rearrange the 21142/21143 SROM/CIS handling code to give it a chance
of working, and last-ditch default to MII-over-SIO with no reset routine
if we don't find an ISV SROM or quirk.
2000-04-04 19:33:21 +00:00
thorpej 5a41b5bf56 - if_tlp_cardbus.c: Use the `pmreg' pointer passed by by
cardbus_get_capability() [mirror change already made to if_tlp_pci.c]
- if_tlp_cardbus.c: If we don't find an ISV SROM, try to grab the
  Ethernet address from the CIS.
- if_tlp_cardbus.c: set CardBus cards to store-and-forward mode from
  the get-go.
- Put the TxThresh tables in tulipvar.h, and use them in the CardBus
  and PCI front-ends to go to store-and-forward mode.
- Document the Xircom X3201-3 clone a little more.
2000-04-04 19:22:50 +00:00
thorpej d11a9a62e2 Fix fallout from callout. 2000-04-04 17:20:54 +00:00
thorpej e766b0b752 Back out the incorrect change in revision 1.11 of main.c, and actually
fix the problem it meant to address by putting extern declarations into
ed.h.
2000-04-04 17:07:29 +00:00
bouyer 77f1e5eb02 Add checks to detect busy-waits, conditionnal on new debug flag
DEBUG_DELAY (0x40). This will print how much time we did loop in wdcwait(),
if we had to read registers more than one time.
2000-04-04 12:43:13 +00:00
kleink 9cb38b96c7 Typo. 2000-04-04 10:39:56 +00:00
bouyer fcb3e9ddac Better fix to previous: delay(100) before the IDENTIFY, and if it fails
delay(1000000) and retry. The 1s delay is needed for some special case only,
no need to hang the machine for that long everytime (especially for PCMCIA).
2000-04-04 09:25:51 +00:00
jdolecek c78399fc88 Add a new sysctl variable vfs.ffs.log_changeopt - if this is true,
an optimalization strategy change is logged into syslog. Default
is 0 (to not log). This replaces the recent not quite "right"
change to only log the change if kernel is compiled with DEBUG.
2000-04-04 09:23:20 +00:00
fvdl bfb0ad4a93 Clarify that page alignment only happens for the internal, kernel notion
of the break value.
2000-04-04 08:41:45 +00:00
itojun e4458d9bed address endian issue. sync with tcpdump.org tree. 2000-04-04 05:44:35 +00:00
itojun 6f5a562309 rareflect removal of racoon build tree. 2000-04-04 03:12:22 +00:00
jdolecek 2deec9c018 add a comment regarding FATMIRROR bit usage and restructure the code
slighly to make the check more explicit
2000-04-03 18:12:12 +00:00
thorpej 36e829de63 Don't enable CIX on ev6/21264, but add an ev67/21264a switch that does
enable CIX.  Taken roughly from egcs-current.
2000-04-03 16:47:05 +00:00
aymeric fdbfdd90f2 added two vaddr_t casts so that this compiles again with -DDEBUG 2000-04-03 15:07:07 +00:00
joda d3b06b0596 regen 2000-04-03 15:05:05 +00:00
joda 0caed62b03 add some NVIDIA chipsets 2000-04-03 15:04:42 +00:00
augustss 358b947b7b Correct a typo. 2000-04-03 13:40:05 +00:00
augustss d063047593 Enable QIC157 command set. Untested. 2000-04-03 12:31:34 +00:00
augustss dc3ce0b35e Enable UFI protocol. Still untested in NetBSD. Used by, e.g., Y-E Data
floppies.
2000-04-03 12:12:38 +00:00
augustss b9d50c36a7 Regen. 2000-04-03 12:10:04 +00:00
augustss e0b4887adf Add more vendors and devices. From FreeBSD and Nick Hibma. 2000-04-03 12:09:43 +00:00
augustss b94d546033 Change #define CMSG_ALIGN so it's not recursive. Now the kernel compiles
again.
2000-04-03 11:49:25 +00:00
soda 1c5551f260 splsoftnet() should block softclock() too. 2000-04-03 11:44:19 +00:00
tsubai c1acffff5c When call a signal handler, don't pass the kernel (local) address in r5. 2000-04-03 10:23:24 +00:00
chs 60a7a67f71 remove uvm_shareprot(). no longer needed since the demise of share maps. 2000-04-03 08:09:02 +00:00