Commit Graph

29810 Commits

Author SHA1 Message Date
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
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
thorpej
1c8e442315 Pull in files.wfont. 2002-01-07 17:36:40 +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
shin
a0a83ff5d4 fix pasto.
s/trunc_line/trunc_line16/
2002-01-07 07:43:52 +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
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
thorpej
d9f543962d Acorn systems do not support the ISA bus; remove these files. 2002-01-06 20:29:42 +00:00
jmcneill
8dc5d86c45 Add entries for the 'esa at pci' audio driver. 2002-01-06 16:07:06 +00:00
takemura
8f5ef79d0f Added _hpcmips_bd_mem_alloc_range, which was written by Katsuomi Hamajima. 2002-01-06 12:39:55 +00:00
takemura
b62dd2ee45 Set interrupt mask on Vrc4173 ICU. 2002-01-06 07:01:20 +00:00
jmcneill
ab29ea6d60 Add radio attachment to bktr. 2002-01-06 02:45:52 +00:00
dbj
0ac4681659 add support for kgdb over zs 2002-01-06 00:35:10 +00:00
chris
e3a3a9f56f Make some of the arm32 files build with LOOSE_PROTOTYPES not set in the makefile. Turned up a few mismatched functions. Note that this isn't all of the arm32 files. Aim will be to get arm32 kernels built with LOOSE_PROTOTYPES not set. 2002-01-05 22:41:46 +00:00
jhawk
d77edb248a Print negative SIMM operands correctly; previously, negative numbers
were bogus.
2002-01-05 22:07:26 +00:00
jhawk
a0dca6bb1d Remove gratuitous ", " after the last opcode for SIMM and UIMM opcodes. 2002-01-05 20:22:52 +00:00
jhawk
c7996c4a47 Print addresses symbolicly using the new ddb helper function, db_symstr().
This disassembler still needs a fair chunk of work.
2002-01-05 20:21:37 +00:00
dbj
86e773e9fd change apparent typo of MS_SFILES to MD_SFILES
This fixes some dependency problems with locore.S
2002-01-05 17:58:48 +00:00
chris
826b7655cf include <arm/conf.h> for prototypes.
Correct args to mmopen and mmclose.
Add RCSID line.
2002-01-05 17:02:22 +00:00
takemura
d0d31a9efc DoCoMo SigmationII support (Experimental)
You must turn on HPCMIPS_L1CACHE_DISABLE option.
2002-01-05 06:45:31 +00:00
takemura
cea2181363 Recompile for DoCoMo SigmarionII with eVC 3.0 and H/PC Pro 2.11 SDK. 2002-01-05 06:00:22 +00:00
takemura
a42a77efaf If two or more vrisab matches platform id, attach most specific one. 2002-01-05 05:09:15 +00:00
uch
cead686281 fix memory size calcuration bug. 2002-01-05 04:47:30 +00:00
thorpej
6e17c402e6 Add -ffreestanding to CFLAGS. Remove the GCC 2.8 check around
-Wno-main (always include -Wno-main).
2002-01-05 01:22:21 +00:00
chris
b51b9e9e63 Update with radio, cir and irframe. also add block device for ld. Update other tables in file as appropriate. 2002-01-05 00:51:30 +00:00
chris
9b812a6774 Update mem device to bring it into line with a change in version 1.32 of i386/mem.c. Appears that we may move uio twice.
Original i386 log message:
Optimize the case of writing to /dev/zero, and clean up the
surrounding code a bit.  Partly suggested by gwr.

I think this needs to be applied to arm26 as well.
2002-01-05 00:46:33 +00:00
takemura
92f7bd9399 Deleted verbose error message in probe routine to probe silently. 2002-01-05 00:40:38 +00:00
briggs
e984bd475c Initialize pba_intrswiz and pba_intrtag before configuring PCI bus. 2002-01-04 22:39:47 +00:00
briggs
b89eed2156 If we're attaching UART2, then use UART2 in failure-case panic()s. 2002-01-04 21:18:59 +00:00
augustss
942fe5df1d Uncomment udsbr (it works). 2002-01-04 21:04:42 +00:00
ws
95ea6d63ce Make this work with only a keyboard attached to ps2 port.
(Maybe even works with only a mouse attached, but I cannot test this.)
Should fix PR 10306 (& 15093).
2002-01-04 17:11:55 +00:00
toshii
4e09455de8 Make jornada720 serial port work when it isn't used as a console. 2002-01-04 16:36:41 +00:00
tsutsui
32eba8afae Fix an uninitialized variable found by new toolchain. 2002-01-04 16:30:02 +00:00
takemura
01b846e28e Renamed sg2com -> com_hpcio. Now it seems to be working on SigmarionII. 2002-01-04 14:11:50 +00:00
takemura
eef721771a Modify only K0 bits and save other bits. (HPCMIPS_L1CACHE_DISABLE) 2002-01-04 09:26:39 +00:00
deberg
4700ae8e79 netsmb device node 2002-01-04 02:59:54 +00:00
thorpej
0ae08645b5 Remove a debug message that should have gone away with the last
commit.
2002-01-03 22:43:05 +00:00
jhawk
ac054a2787 Support
t/t	PID
on the powerpc. (remember to use 0tPID if pid is in decimal...)
2002-01-03 22:15:06 +00:00
augustss
51b2c397c3 Add ustir. 2002-01-03 18:56:40 +00:00
shin
a3df8955eb remove redundant option 2002-01-03 11:28:12 +00:00
shin
2eb7728600 ignore romboot and romboot.bin 2002-01-03 11:27:48 +00:00