Commit Graph

122087 Commits

Author SHA1 Message Date
sekiya
aa10d0203e Add dedicated IOC (I/O Controller) driver. pckbc, zstty, and lpt will each
receive *_ioc.c attachments; machines without IOC (i.e., IP20) will use *_hpc.c
stubs.
2003-12-15 10:23:52 +00:00
lukem
7eec24689d MAKEVERBOSE-ify MAKEDEV creation 2003-12-15 09:46:51 +00:00
scw
5f0d6f1b24 Work-around an obscure bug (reported by a couple of people, and reproduced
exactly twice by me) which causes the code at the top of copyin which
word-aligns the destination pointer to copy more bytes than necessary,
resulting in an alignment fault later on.

The bug is difficult to reproduce, but as far as I can tell it seems
to be as a result of the condition codes being corrupted, possibly
following a page fault caused by the first ldrbt/strb instructions.
The subsequent ldr<cc>bt/str<cc>b instructions then _always_ execute.
I can't think of any obvious reason why this would happen, though.
2003-12-15 09:27:18 +00:00
scw
fbdf861fac The last cpsr_all change was misguided. Just use cpsr_c wherever possible. 2003-12-15 09:18:21 +00:00
simonb
210a9530eb Use UART_SIZE instead of a (redefined) COM_NPORTS. 2003-12-15 09:13:41 +00:00
jdolecek
2d5a801b27 add /rescue to the PATH to find chown if /usr is not available yet
XXX chown should either be moved or we should not depend on it here

fixes PR kern/23614 by Christian Biere
2003-12-15 08:57:52 +00:00
jdolecek
e1a0411746 print complete contents of the second feature byte; this also fixes
printing of DMA32 bit
2003-12-15 08:38:01 +00:00
jmc
43bf89bfc6 Fixes from PR#23177. Various lint/logic fixes:
Fix some non-initialized variables
close the output files when done
Redo the printing for RCS strings so they don't expand in the awk script too
Do proper tests for variables existance before accessing

Verified output from all scripts is identical to original versions
2003-12-15 07:32:20 +00:00
wiz
9efe6a5366 Bump date for previous. 2003-12-15 07:31:52 +00:00
lonewolf
b1661efe35 Note newport(4) and IP22 console support. 2003-12-15 06:36:05 +00:00
lonewolf
d3617a70ff Add haltwo(4) and newport(4) manpages. 2003-12-15 06:28:01 +00:00
lonewolf
bf0b94a750 Add pckbc/wscons/newport related attachments. 2003-12-15 05:29:20 +00:00
lonewolf
280382edf9 Add support for attaching newport/pckbc as console on IP22 (Indy).
XXX Does this work on Indigo2 too?
XXX Ugly hardcoded bus_space_tags and stuff.
XXX This whole file is one damn ugly mess.
2003-12-15 05:28:14 +00:00
lonewolf
613491354d Implement direct configuration for GIO devices.
XXX Still needs a way to handle Indigo2 spurious "productid 0x04 revision 0x00"
XXX phantom devices.
2003-12-15 05:26:56 +00:00
lonewolf
3e256e53b0 Support for SGI NG1 ("newport") graphics controller. 2003-12-15 05:24:51 +00:00
simonb
72964fcdbe Apply rev 1.225 from binutils mainline:
date: 2003/07/09 01:27:30;  author: cgd;  state: Exp;  lines: +3 -2
2003-07-08  Chris Demetriou  <cgd@broadcom.com>

	* config/tc-mips.c (mips_validate_fix): Do not warn about branch
	target being a global symbol if not compiling SVR4 PIC code.

Fixes warnings compiling MIPS kernels.  Problem noticed by Izumi Tsutsui
on the port-pmax list.
2003-12-15 00:54:41 +00:00
thorpej
1534ca51d1 Remove the notice that was in cmdide.c before SATALink support was split
out.  All of the code in this file was written by me.
2003-12-15 00:37:38 +00:00
thorpej
7fca07b0d8 Use the SControl and SStatus registers to query the SATA PHY for
device detection.
2003-12-15 00:36:23 +00:00
thorpej
9de2760c3e Add a (*drv_probe)() optional callback into the driver to probe for
drives on a channel.  Drivers should provide this if they have some
sort of intelligent probing mechanism.
2003-12-15 00:27:13 +00:00
lukem
a8c35a134f remove superfluous assignment 2003-12-14 23:56:28 +00:00
he
f9e95c8ced Stop the install from trying to strip the ECOFF executable.
The MIPS strip program seg-faults if that is attempted.
2003-12-14 22:57:54 +00:00
dsl
97356a5fa8 Defer writing of KTR_EMUL entry until first trace done by target process.
Stops ktrops sleeping with the pid table locked.
2003-12-14 22:56:45 +00:00
mbw
8dc1fa1a3c Add sparc synopsis and remove dca xref 2003-12-14 22:30:12 +00:00
gson
c43379aa3e The structure member prefixes added in sys/dev/usb/usb.h 1.62 were
missing from the man page.
2003-12-14 21:12:26 +00:00
ragge
57fa6bb861 TOPDOWN_VM is now mandatory on vax. 2003-12-14 19:39:24 +00:00
he
a085af0d99 Change "ln -sf" to "ln -fs" to placate makedev2spec.awk. 2003-12-14 19:09:34 +00:00
thorpej
e4aa90cdc6 Rename __wdcprobe() to wdcprobe1(). 2003-12-14 18:51:10 +00:00
wiz
e04ea4ae3c Grammar improvements from Brian Chase in PR 23753. 2003-12-14 18:10:08 +00:00
wiz
72237e6413 Fix typo reported by Brian Chase in PR 23751.
While here, do some cleanup.
2003-12-14 18:08:43 +00:00
martin
9eead0293e Make this look more like GENERIC. 2003-12-14 17:26:58 +00:00
thorpej
1b1646cdae Add <dev/ata/satareg.h>. 2003-12-14 17:15:31 +00:00
thorpej
5af2747f1e Serial ATA register definitions. 2003-12-14 17:14:47 +00:00
fredb
d19528e4e0 Adapt to MI ATA/wdc changes. Especially, now that the address of
each individual ATA register is in the attachment structure, we
can dispense with the custom bus_space mapping hack which set the
stride, then unset it for particular bus_space functions. (There
is really no stride; the data register is read and written to
consecutive bytes. The control register mappings just happen to
be separated by four bytes.) While we're here, de-__P(), and lose
a confusing shift.

This has been tested on Quadra 630. Reviewed by bouyer.
2003-12-14 15:31:23 +00:00
martin
40751dda65 Place bootjs.elf in .../installation/netboot too (boot.net can't be used
for JavaStations)
2003-12-14 12:17:44 +00:00
tsutsui
cae6629a57 Include <bsd.own.mk> at the top so that machine-links are also created
on "make depend". Tested on my RaQ2, and fixes port-cobalt/23711.
While here, two more cosmetics:
- remove redundant definitions
- use NOMAN rather than setting MAN empty
2003-12-14 11:58:38 +00:00
tsutsui
bd3274f615 Change unit and part variables for wd from u_int8_t to u_int. 2003-12-14 11:53:52 +00:00
rtr
1a07d009ee x11 modules/{fonts,drivers,input} directories. 2003-12-14 10:14:48 +00:00
dyoung
ea63a1a6cd PR 23428: support National Datacomm Corporation NCP130A2 board.
Thanks T. M. Pederson for sending the patches.
2003-12-14 10:04:33 +00:00
dyoung
9280f4b428 Synchronize with FreeBSD sources from 12 Dec 2003. 2003-12-14 09:56:53 +00:00
dyoung
10d1fa6e70 Add ath(4) for Atheros 802.11a/b/g cards. 2003-12-14 09:54:01 +00:00
wiz
b460383205 Mention how to enter DDB on vax. From Brian Chase in PR 23740. 2003-12-14 09:40:07 +00:00
wiz
90d2703a98 Remove superfluous "is". Reported by Brian Chase in PR 23739. 2003-12-14 09:38:29 +00:00
wiz
f6ef813a29 Fix Xrefs for artsata and satalink; bump date. 2003-12-14 09:22:11 +00:00
wiz
423c714795 Use more markup. 2003-12-14 09:21:53 +00:00
sekiya
a15d89e48a Move IOC (integrated peripheral controller) init code into the IP22-specific
routine, as IP20 does not possess an IOC.  This will eventually be moved into
a dedicated IOC driver that attaches its peripherals as children, but the
changes involved are too intrusive right now.
2003-12-14 07:53:10 +00:00
sekiya
3e021de39c Uncomment dpclock, remove IP20 option. IP20 now boots as far as the
boot device selection prompt using the GENERIC kernel.
2003-12-14 07:31:02 +00:00
sekiya
fa349eb13c Allow hpc to attach on IP20. 2003-12-14 07:28:17 +00:00
sekiya
264219f697 Bus-space'ify the memory controller driver, and add IP20-specific bits. 2003-12-14 07:21:51 +00:00
sekiya
4aeb14dce4 IP20 should handle the watchdog timer in the same manner as for IP22. 2003-12-14 06:11:35 +00:00
sekiya
8302dd42e0 The serial controller on IP20 lives in a different place. Modify
zs_get_chan_addr() to reflect this.

XXX hardcoded addresses are quite distasteful.  This should be passed in
through consinit() -- to avoid conflicts with Ilpo's soon-to-be-committed
framebuffer driver, I'll hold off until his code hits the tree.
2003-12-14 05:59:50 +00:00