Commit Graph

41397 Commits

Author SHA1 Message Date
perry
68da44823c u_intN_t -> uintN_t 2005-12-26 19:23:59 +00:00
yamt
9297401d54 - add ioctls to set/get disk bufq strategy.
- implement them for some drivers.
2005-12-26 10:36:47 +00:00
rpaulo
30a362ab71 Add Intel 82801FBM ICH6M LPC Interface Bridge. There seem to be more
pci products missing, but I can only test this one.
2005-12-25 19:26:33 +00:00
rpaulo
e086cb7991 ANSIfy. 2005-12-25 18:46:27 +00:00
perry
50a256a3a0 __asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00
uwe
12ffdb00a2 Implement WARN_REFERENCES. 2005-12-24 22:57:26 +00:00
perry
2d65de2479 bare asm -> __asm 2005-12-24 22:45:33 +00:00
tsutsui
34c8c3e9fe Move some definitions from CFLAGS to CPPFLAGS so that SRT0.S can
include <m68k/asm.h> properly.
2005-12-24 22:22:33 +00:00
tsutsui
8343611e9c Adapt to libkern reorganization. 2005-12-24 22:18:40 +00:00
perry
f2bc845517 __inline__ -> inline 2005-12-24 21:44:28 +00:00
uwe
552b373ffa Prettify. 2005-12-24 21:10:28 +00:00
perry
5f1c88d70d Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:06:46 +00:00
tsutsui
1b26dc9160 Adapt to transition from libkern to src/common/lib/libc. Tested on 3/80.
XXX: Is it simpler to build standard MI libsa/libkern libraries?
2005-12-24 14:15:47 +00:00
christos
7111987161 Add a cast to l_addr to avoid wrapping. From Johnny Billquist. 2005-12-24 07:37:18 +00:00
ginsbach
d357be2474 Fix the build of sgivol as a host tool on a platform without libutil,
e.g. MacOS X.  Identical to method used in the disklabel(8) Makefile.
2005-12-23 03:28:10 +00:00
briggs
23dfb2cd67 Add files that have been sitting in my local source tree for almost exactly
two years.  Unable to test since I no longer have access to the hardware.
2005-12-22 16:17:24 +00:00
rjs
46eed28b47 Add boilerplate for cardbus support. 2005-12-21 22:35:41 +00:00
christos
a790ff195c PR/32086: Garrett D'Amore: Use the YAMON environment for console speed
selection, rather than a hard-coded speed.
2005-12-21 18:55:33 +00:00
tron
e7b5db7c4a Add basic support for Alchemy Au1550 processor (CPU and devices).
Patch contributed by Garrett D'Amore in PR port-evbmips/32030.
2005-12-20 21:06:42 +00:00
mrg
5c85883363 enable sip@pci. it seems to work now, tested on a U10/440. 2005-12-20 13:02:13 +00:00
thorpej
c97c3de6e9 Remove the tablet line discipline. 2005-12-20 05:35:27 +00:00
tron
8b0925bcb6 Make OHCI work on Au1500 systems running in big-endian mode.
Patch contributed by Garrett D'Amore in PR port-evbmips/31912.
2005-12-19 15:06:51 +00:00
uwe
902411e7f8 Use ANSI uintN_t types. 2005-12-18 23:40:03 +00:00
uwe
5e6b9ca4dd Use ANSI uintN_t types. Propagate "static" to function definitions. 2005-12-18 23:38:01 +00:00
uwe
3029fe439a Use explicit "continue" for busy loop bodies in a couple of places I
missed in the previous commit.
2005-12-18 23:32:39 +00:00
uwe
a6af1cec86 Use ANSI uintN_t types. Use "void" in definitions of functions
without arguments.  Propagate "static" to function definitions.
Declare local functions static.  Hide acceleration code inside ifdef
HD64461VIDEO_HWACCEL (save more than 1K of text).
2005-12-18 23:20:03 +00:00
uwe
105ff7167f Declare ddb_regs extern in db_machdep.h and provide the defintion in
db_interface.c.
2005-12-18 22:41:50 +00:00
uwe
bfbda844db Use ANSI uintN_t types. Use "volatile" without extra __'s.
Use "void" in definitions of functions without arguments.
Propagate "static" do function definitions.
2005-12-18 22:19:56 +00:00
uwe
2d4890dc44 Don't include sys/boot_flag.h only to get sys/reboot.h pulled in,
include the latter directly instead.  Include hd64461*reg.h only under
DEBUG, where they are used.  In hd64461_match use fallthrough.
2005-12-18 22:07:56 +00:00
uwe
952389de29 Use ANSI unitN_t types. Use "void" when defining functions with no args.
Propagate "static" to function definitions.
2005-12-18 21:52:41 +00:00
uwe
2c9f460b01 Multiple-inclusion protection. 2005-12-18 21:47:10 +00:00
uwe
b4800dcaa7 Use ANSI unitN_t types. 2005-12-18 21:46:15 +00:00
uwe
51952dd360 Multiple-inclusion protection. Use ANSI uintN_t types. Fix few
whitespace nits.  Add "extern" to function declarations.  Drop LOCORE
protection, this file is not included in any asm sources, it has
nothing interesting for asm sources anyway.
2005-12-18 21:44:27 +00:00
uwe
962a056ac8 Drop unnecessary include. Add few blank lines for better readability. 2005-12-18 21:25:55 +00:00
uwe
4ebaf8108c Use ANSI uintN_t types. Functions w/out arguments should have "void"
in their definitions.  Declare local function static.
2005-12-18 21:20:48 +00:00
uwe
7351da46fb Use ANSI unitN_t types. Add 'extern' to extern function declarations.
Shuffle declaration order to make it more clear that raise/resume come
from a different file.
2005-12-18 19:48:43 +00:00
uwe
24d1ad311b Multiple-inclusion protection. 2005-12-18 19:31:30 +00:00
uwe
fb2feef0c6 Simplify j6x0lcd_contrast_raw. 2005-12-18 19:09:26 +00:00
uwe
d5c16305fc Convert few remaining K&R function definitions to ANSI. 2005-12-18 18:59:48 +00:00
yamt
a1e02d70cd remove an unused file. 2005-12-18 05:31:08 +00:00
macallan
8ef937c9e4 return SCSI_CHECK in xs->status instead of xs->xs_status
This fixes a whole bunch of weird errors that plague(d) mesh forever, like
- failure to spin up drives automatically
- occasional bogus 'drive offline' messages
- LONG delays when trying to use a ZIP drive

It will probably expose more problems, we'll see.
2005-12-17 21:48:13 +00:00
jdc
b4946a5555 Check the PROM stdin path for the string "/usb@0". If we find a match, call
ukbd_cnattach(), so that the USB keyboard will become the console keyboard.
Makes the keyboard work on a Blade 100.
2005-12-17 17:58:02 +00:00
tsutsui
f521bf5b9b Adjust a comment for options FFS_NO_SNAPSHOT. 2005-12-17 16:33:30 +00:00
tsutsui
c854a6f5b5 Adjust a comment for options FFS_NO_SNAPSHOT. 2005-12-17 16:15:01 +00:00
he
6b908020f2 Actually adapt to ktrace-lwp by converting the last arg to the ioctl()
function from a "struct proc *" to a "struct lwp *".  Makes this build
again.
2005-12-17 10:26:59 +00:00
jmc
7bfb16b32c Fix some places pa's got left in the conversion to vm_page 2005-12-17 05:44:11 +00:00
christos
60388662fb PR/32312: Arnaud Degroote: apm on hpcarm ( NetBSD-current ) doesn"t compile 2005-12-16 04:02:14 +00:00
yamt
50c06dae27 xennet_softstart: turn "xennet: no mbuf cluster" printf to DPRINTF. 2005-12-15 13:45:32 +00:00
briggs
c9d34b2987 Add an offset to the I/O port translations. This allows IQ80321
and others to avoid providing PCI I/O space at address 0.
Iyonix, however, needs to provide PCI I/O space at 0.
The others require I/O space to be offset in part due to a bug
work-around in wm(4) which requires that I/O space access be used
to reset the controllers.  If I/O space is mapped at zero, the card
claims, but ignores, the transactions, and the controller doesn't
get reset properly and can't then be used.
2005-12-15 01:44:00 +00:00
briggs
ae315be3b6 Bump SYMTAB_SPACE. 2005-12-14 16:21:55 +00:00