Commit Graph

52456 Commits

Author SHA1 Message Date
deberg 9c0b4c4a97 use SMBDATA for devtbl 2002-01-08 19:52:16 +00:00
christos b5d5702d16 Deal with lossage caused by recent isa changes [/briq potr] 2002-01-08 17:20:44 +00:00
chs a6f2a36ecc include sys/systm.h for strcmp() prototype. 2002-01-08 17:10:28 +00:00
toshii 2e3ff494cb Remove fwait after fxsave.
Raising math exception from fpu_save causes machine reboots.
Also, this fwait would cause incorrect results, as pending exceptions
are to be handled later after fxrstor.
2002-01-08 13:31:04 +00:00
bouyer 2e06a41ea8 Fix typo in comment. Reported by Alexander Yurchenko in private mail. 2002-01-08 11:47:27 +00:00
rjs 1d49b1abec Establish interrupt handlers before enabling the clocks. 2002-01-08 11:40:56 +00:00
rjs 4bb5c4fa7c Add extra SA1111 register definitions. 2002-01-08 11:36:52 +00:00
rjs cd6d465f6b Add reset controller register definitions. 2002-01-08 11:29:51 +00:00
rjs 1b4e5cf968 Add check for microtime() being called before clock is initialized. 2002-01-08 11:21:02 +00:00
itojun 1cc58965b6 don't panic when there's no interface address exist for the specified multicast
outgoing interface (ia == NULL after IFP_TO_IA).

historic behavior (up to revision 1.43) was to use 0.0.0.0 as source address,
but it seems like a mistake according to RFC1112/1122.
2002-01-08 10:05:13 +00:00
uwe 6191cedbe6 In the idle loop add a comment to wrpsr in the annulled delay slot of
an ifdefed branch instruction to make it obvious where it belongs to.
The ifdef makes it very confusing visually.
2002-01-08 05:59:31 +00:00
itojun b0e82d3005 do not log() in per-packet input path. sync w/kame 2002-01-08 04:37:32 +00:00
itojun 8c7c7ff54b pss is broken (for now?) 2002-01-08 04:36:51 +00:00
thorpej 290ea9c6a7 le at pci -> pcn at pci, and add several more phys (most commented out). 2002-01-08 03:28:56 +00:00
manu c8d430d60d missing include 2002-01-07 23:12:30 +00:00
matt 3b0bdd1f0f Remove machine/powerpc links on clean as well. 2002-01-07 23:09:53 +00:00
chris 8dd3ca5994 Finish up the changes to get LOOSE_PROTOTYPES working for cats.
Note that this leaves a few inconsistencies (no more than we already had though) eg initarm is now prototyped in arm32/machdep.h, however only cats currently makes use of that header.
2002-01-07 22:58:07 +00:00
dbj f629228e87 Changes to the wdc(4) mi driver that add the WDC_CAPABILITY_SELECT
flag and a callback function which gets called whenever a target is
selected on a channel.

The macppc wdc driver needs to reprogram its timing register
differently for each target on a channel each time that target is
selected.  I also changed the ATA4_TIME_TO_TICK to use a divisor of
15, which brings our timing calculations consistent with darwin.

These patches fix problems on my dual usb ibook with combo dvd/cdrw
drive because the hard drive supports udma and the combo drive does
not.  Without turning off the udma timings in the configuration
register, I cannot access the non-udma combo drive.
2002-01-07 22:11:17 +00:00
manu 4398be0cfc Added code to correctly match and launch o32 and n32 IRIX binaires (note that
there is n support yet in the kernel for running n32 binaries)
2002-01-07 22:07:37 +00:00
manu 0b98511d4a Added code to match and launch n32 binaries (there is no N32 support in the
kernel yet)
2002-01-07 22:05:03 +00:00
thorpej 3835413bc1 Overhaul of the ISA autoconfiguration code to support direct
configuration of devices logically attached to the ISA bus:

* Change the isa_attach_args to have arrays of io, mem, irq, drq
  resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
  isa_attach_args.  If either of these members are non-NULL,
  direct configuration of the bus is being performed.  Add an
  ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
  direct configuration is not being performed and the probe fucntion
  is returning success.
* Adapt device drivers -- currently, all driver probe routines return
  "no match" if ISA_DIRECT_CONFIG() evaluates to true.
2002-01-07 21:46:56 +00:00
bjh21 f2b2562dd8 Don't print arm700bugcount at shutdown. I'm planning to make it into
an evcnt, so users can get at it using vmstat if they care.
2002-01-07 21:40:59 +00:00
bjh21 2b44bd85c5 On arm26, vectors.S needs to be at the start of the kernel text, so that it's
on a page boundary and can be mapped straight into zero page.  This means it
has to be in MD_SFILES on arm26, and not in SFILES.

This probably leaves kernel_text in the wrong place, but it at least leaves the system bootable.
2002-01-07 21:15:50 +00:00
jmcneill 898f375fa0 Re-enable radio at bktr. 2002-01-07 19:34:25 +00:00
jmcneill fad06cc1a6 Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present. 2002-01-07 18:05:33 +00:00
drochner db154a4d20 "attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.
2002-01-07 17:44:42 +00:00
thorpej 1c8e442315 Pull in files.wfont. 2002-01-07 17:36:40 +00:00
lukem 202e920175 revert part of rev 1.14 - #include <ufs/ufs/dinode.h> - because that
makes it MUCH more difficult to reference this file stand-alone.
2002-01-07 15:25:22 +00:00
tron 559521efa3 Disable broken radio(4) support for bktr(4). The configuration code doesn't
even check if the TV card has a radio tuner.
2002-01-07 12:12:55 +00:00
tron 2f741a258e Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).
2002-01-07 11:58:28 +00:00
martin da249d7da1 Implement a retry counter for failed authorizations and limit it to
a configurable maximum (default: 5).

Some ISPs shut down accounts (at least temporarily) after to many bad
retries. This hit me recently due to a stupid pilot error and the fast
retry rate.
2002-01-07 10:49:02 +00:00
tron 65aa7d5e7c Clean up preprocess handling of optional radio(4) support a little bit. 2002-01-07 10:43:43 +00:00
shin a0a83ff5d4 fix pasto.
s/trunc_line/trunc_line16/
2002-01-07 07:43:52 +00:00
jmcneill 311329a369 Integrate recording support into the driver. Not very heavily tested yet. 2002-01-07 07:33:09 +00:00
thorpej a130e9e458 Implement bus_space_mmap(). 2002-01-07 07:17:17 +00:00
thorpej 059c98d5e4 Fix typo. 2002-01-07 06:03:19 +00:00
oster 19c2127b85 Revert previous. Need to be more careful with what gets chopped out. 2002-01-07 05:30:53 +00:00
minoura 4d762e1938 New toolchain.
XXX: New toolchain generates 100byte bigger object than the 8KB limit.
XXX: Therefore, compilation always fails!
2002-01-07 04:06:52 +00:00
minoura 195060e302 Copy alloca() and memcpy() definitions from libkern.h. 2002-01-07 04:01:13 +00:00
minoura 38d9c867f6 alloca() is now defined in libkern.h. 2002-01-07 04:00:30 +00:00
minoura 873ab50602 Use -Os optimization. 2002-01-07 04:00:02 +00:00
thorpej ddb7327122 Add missing register prefix. 2002-01-07 02:54:27 +00:00
oster 345de5b80a Some of this stuff is really just for debugging, so compile it only if
DEBUG is defined.
2002-01-07 02:27:42 +00:00
oster af9b7112ab #if 0 rf_SetReconfiguredMode() since it is unused now, but may be
needed someday.
2002-01-07 01:58:03 +00:00
deberg 7882fd04da gc unused M_NSMBDEV.
add comments reminding to mirror changes to the types list in malloc.9.
2002-01-07 01:02:19 +00:00
deberg 2935620216 add smbfs malloc types 2002-01-07 00:21:56 +00:00
tron 6a997e3c73 Compile in radio(4) only it is activated in the kernel configuration. 2002-01-06 23:19:18 +00:00
manu 3b176652b8 Fixed wrong file name. 2002-01-06 21:43:10 +00:00
manu 365eb49355 Added compat/irix/irix_syscallnames.c 2002-01-06 21:34:30 +00:00
thorpej d9f543962d Acorn systems do not support the ISA bus; remove these files. 2002-01-06 20:29:42 +00:00