Josef Karthauser
24c73fed01
MFNetBSD:
...
revision 1.156
date: 2002/03/04 00:53:33; author: augustss; state: Exp; lines: +3 -3
Use the correct pointer for the timeout abort.
2002-04-07 18:14:08 +00:00
Josef Karthauser
d5b41c2348
MFNetBSD:
...
revision 1.155
date: 2002/02/27 12:42:41; author: augustss; state: Exp; lines: +8 -8
Move the interrupt bailout when a cancelled ii is found.
2002-04-07 18:13:16 +00:00
Josef Karthauser
88bda4a206
MFNetBSD:
...
revision 1.154
date: 2002/02/27 12:12:45; author: augustss; state: Exp; lines: +14 -9
Remove spurious splusb().
Lower abort hardware wait.
2002-04-07 18:10:10 +00:00
Josef Karthauser
b146ba499d
MFNetBSD: uhcireg.h (1.15), uhcivar.h (1.33)
...
date: 2002/02/11 11:41:30; author: augustss;
Switch to new abort mechanism.
2002-04-07 18:06:34 +00:00
Josef Karthauser
7080df5183
MFNetBSD:
...
revision 1.153
date: 2002/02/11 11:40:33; author: augustss; state: Exp; lines: +67 -26
Switch to the same abort mechanism as in [eo]hci; it should be more
robust.
2002-04-07 18:03:45 +00:00
Josef Karthauser
de36d7b363
MFNetBSD:
...
revision 1.151
date: 2002/01/27 23:00:34; author: augustss; state: Exp; lines: +3 -3
Use M_WAITOK instead of M_NOWAIT when allocating extra descriptors.
Spotted by OpenBSD.
2002-04-07 17:55:16 +00:00
Josef Karthauser
3ccc9447a9
MFNetBSD: hid.c (1.22), uhci.c (1.150), usb_subr.c (1.97)
...
date: 2002/01/14 13:23:37; author: tsutsui;
Call malloc(9) with M_ZERO flag instead of memset() after malloc().
2002-04-07 17:53:58 +00:00
Josef Karthauser
8c8cd21069
MFNetBSD: uhid.c (1.45), ums.c (1.49), usbdi_util.c (1.35), usbdi_util.h (1.23)
...
date: 2001/10/26 17:58:21; author: augustss;
s/usbd_alloc_report_desc/usbd_read_report_desc/
2002-04-07 17:13:00 +00:00
Josef Karthauser
5de3d8b11f
MFNetBSD:
...
revision 1.44
date: 2001/09/15 16:16:28; author: yamt; state: Exp; lines: +3 -3
correct debug messages.
2002-04-07 17:05:50 +00:00
Josef Karthauser
a0864e3a2a
MFNetBSD: uhid.c (1.42 & 1.43), ugraphire_rdesc.h (1.1)
...
date: 2000/12/29 01:47:49; author: augustss;
Supply our own report descriptor (from Nick Hibma) for the Wacom Graphire.
The descriptor it reports is broken.
XXX Not tested, because I don't have the device.
date: 2001/08/15 00:06:49; author: augustss; state: Exp; lines: +3 -1
If there was a vendor+product locator match return a higher match value.
Rationale, if you have a device (e.g., a mouse) with a more specific
driver but want to recognize it with the more generic driver you can
do that by supplying vendor and product locators for the generic one.
2002-04-07 17:04:01 +00:00
Josef Karthauser
3aebbbbc02
Update $NetBSD$ idents.
2002-04-07 17:02:25 +00:00
Josef Karthauser
cea1dfbfb8
MFNetBSD:
...
revision 1.148
date: 2001/11/21 12:25:55; author: augustss; state: Exp; lines: +3 -3
Fix typo in comment.
2002-04-07 16:38:14 +00:00
Josef Karthauser
9933dd4a4d
Remove the overt differences between ours and NetBSD's version of this file.
2002-04-07 16:36:30 +00:00
Josef Karthauser
192ed2a524
Re-add the definitions of htole32(x) and le32toh(x) for OpenBSD.
2002-04-07 15:41:45 +00:00
Josef Karthauser
c82c28223c
MFNetBSD:
...
revision 1.121
date: 2002/03/16 16:11:18; author: tsutsui; state: Exp; lines: +4 -4
Fix a couple of typo:
- s/ehci/ohci/ (in unused arg of macro)
- s/uhci/ohci/ (in debug message)
2002-04-07 15:18:00 +00:00
Josef Karthauser
041ed0fb76
MFNetBSD: ohci.c (1.119), ohcivar.h (1.30)
...
date: 2001/12/31 12:20:35; author: augustss;
Change xfer abort to wait for the softintr to run.
2002-04-07 15:16:31 +00:00
Josef Karthauser
d9a23dc02c
MFNetBSD:
...
revision 1.118
date: 2001/12/27 18:48:28; author: augustss; state: Exp; lines: +24 -5
Add some DIAGNOSTIC stuf that I forgot. From Nate Williams.
2002-04-07 15:12:07 +00:00
Josef Karthauser
1c6db1a232
MFNetBSD:
...
revision 1.117
date: 2001/12/27 11:27:11; author: augustss; state: Exp; lines: +5 -3
Update a comment.
2002-04-07 15:08:39 +00:00
Josef Karthauser
daae4fc6d9
MFNetBSD:
...
revision 1.116
date: 2001/11/21 08:18:40; author: augustss; state: Exp; lines: +30 -3
Pay more attention to if the HC is being unplugged.
2002-04-07 15:07:23 +00:00
Josef Karthauser
8f3c17c9ba
MFNetBSD:
...
revision 1.27
date: 2001/02/21 10:19:30; author: minoura; state: Exp; lines: +2 -3
There is no reason to exclude FreeBSD :).
2002-04-07 15:01:01 +00:00
Josef Karthauser
cc29ac735d
MFNetBSD: ohci.c (1.114), ohcivar.h (1.29)
...
date: 2001/11/21 02:41:18; author: augustss;
Use a task to perform the timeout abort so we have a process context when
sleeping.
2002-04-07 14:57:31 +00:00
Josef Karthauser
4e006c4cde
MFNetBSD:
...
revision 1.113
date: 2001/11/21 02:39:31; author: augustss; state: Exp; lines: +10 -4
Some more debug stuff.
2002-04-07 14:53:52 +00:00
Josef Karthauser
a19ddcb74b
MFNetBSD: ohci.c (1.112), uhci.c (1.147)
...
date: 2001/11/21 02:38:35; author: augustss;
Cast some args to bitmask_snprintf().
2002-04-07 14:49:14 +00:00
Josef Karthauser
0f077873fe
MFNetBSD: ohci.c (1.111), uhci.c (1.146)
...
date: 2001/11/20 21:12:46; author: augustss;
Don't bother with interrupts when being disconnected.
2002-04-07 14:45:38 +00:00
Josef Karthauser
dc6d4959c0
MFNetBSD: ohci.c (1.101), ohcivar.h (1.26)
...
revision 1.101
date: 2001/02/20 15:20:32; author: minoura;
Re-initialize some registers after resuming from suspend.
Some APM BIOSes do not restore them.
Reviewd by augustss.
2002-04-07 14:40:15 +00:00
Josef Karthauser
916f3fce33
MFNetBSD:
...
revision 1.97
date: 2000/12/31 14:29:54; author: augustss; state: Exp; lines: +17 -3
Make the controller survive suspend/resume. Thanks to Steve Woodford
<steve@mctavish.co.uk> for testing.
2002-04-07 14:34:23 +00:00
Josef Karthauser
0f3cf7038b
MFNetBSD:
...
revision 1.95
date: 2000/12/13 03:09:06; author: augustss; state: Exp; lines: +19 -3
Make the ohci driver not hang suspend/resume. It still doesn't resume
correctly. From itohy@netbsd.org (ITOH Yasufumi) PR kern/11714.
2002-04-07 14:31:03 +00:00
Josef Karthauser
daad38f29f
MFNetBSD: ohci.c (1.100), ohcivar.h (1.25)
...
ohci.c
revision 1.100
date: 2001/01/28 16:18:09; author: augustss; state: Exp; lines: +7 -2
Put a rate limiter on the scheduling overrun message.
ohcivar.h:
revision 1.25
date: 2001/01/28 19:01:20; author: augustss; state: Exp; lines: +4 -1
Commit second half of rate limit change.
2002-04-07 14:25:02 +00:00
Josef Karthauser
3119539124
MFNetBSD:
...
revision 1.58
date: 2001/11/20 23:53:26; author: augustss; state: Exp; lines: +61 -33
Create a special kernel thread to run the usb short lived tasks (instead
of using the device discovery threads).
2002-04-07 14:21:32 +00:00
Josef Karthauser
0f349fb04e
MFNetBSD:
...
revision 1.65
date: 2002/01/03 22:20:45; author: augustss; state: Exp; lines: +9 -2
Add a DIAGNOSTIC check. From FreeBSD.
(Just wrap these changes, that we already had, with a #ifdef DIAGNOSTIC).
2002-04-07 14:12:56 +00:00
Josef Karthauser
00955db9e4
MFNetBSD:
...
revision 1.62
date: 2002/01/02 20:55:58; author: augustss; state: Exp; lines: +11 -10
Some more usb_proc_ptr changes.
Also some minor stylistic changes.
revision 1.63
date: 2002/01/02 20:58:12; author: augustss; state: Exp; lines: +4 -4
Fix typo in last commit.
revision 1.64
date: 2002/01/02 22:44:44; author: augustss; state: Exp; lines: +7 -4
Add a comment.
The usb_proc_ptr changes were introduced in 1.62 and backed out in 1.64.
2002-04-07 14:10:52 +00:00
Josef Karthauser
0af822462a
MFNetBSD:
...
revision 1.61
date: 2001/12/31 15:55:51; author: augustss; state: Exp; lines: +3 -5
Delay bus enumeration a little in case the controller is a companion
controller. This way the main controller can gain ownership of the port
before enumeration starts.
2002-04-07 14:02:31 +00:00
Josef Karthauser
9a7693dbe2
MFNetBSD:
...
revision 1.59
date: 2001/11/26 20:16:55; author: augustss; state: Exp; lines: +3 -3
Change wchan name for usb task thread.
2002-04-07 13:59:32 +00:00
Josef Karthauser
c47378c38f
MFNetBSD: usb.c (1.58)
...
date: 2001/11/20 23:53:26; author: augustss; state: Exp; lines: +61 -33
Create a special kernel thread to run the usb short lived tasks (instead
of using the device discovery threads).
The change to usb_port.h is a little hack whilst I address an issue
with NetBSD.
2002-04-07 13:58:06 +00:00
Nick Hibma
147fb5d0ca
Regen.
2002-04-07 13:47:19 +00:00
Nick Hibma
c5c0113fd8
Add Scanlogic SL11R IDE Adapter.
2002-04-07 13:45:24 +00:00
Josef Karthauser
6d4cdfa024
Synchronise the code style with NetBSD. (No functional changes).
2002-04-07 13:37:46 +00:00
Josef Karthauser
47f7268805
MFNetBSD:
...
revision 1.69
date: 2001/12/27 18:43:46; author: augustss; state: Exp; lines: +3 -3
Change some DIAGNOSTIC #defines.
2002-04-07 13:27:56 +00:00
Josef Karthauser
c6b0a4ae15
MFNetBSD:
...
revision 1.68
date: 2001/12/24 21:36:16; author: augustss; state: Exp; lines: +2 -1
Add some more DIAGNOSTIC tests.
Make usb_match_device() match on USB_PRODUCT_ANY.
2002-04-07 13:26:59 +00:00
Maxime Henrion
9d8353732e
o Change kernel_vmount() interface to be more convenient : pass two
...
separate strings instead of passing "foo=bar".
o Don't forget to clear the VMOUNT flag on the vnode when vfs_nmount()
fails because the fs doesn't implement VFS_NMOUNT (and in vfs_mount()
when the fs doesn't implement VFS_MOUNT) ; also decrement the vfs
refcount in the !MNT_UPDATE case.
2002-04-07 13:22:47 +00:00
Josef Karthauser
be55f9a1f2
MFNetBSD:
...
revision 1.67
date: 2001/11/21 13:44:47; author: augustss; state: Exp; lines: +3 -1
Wrap dump routine prototypes in #ifdef USB_DEBUG
2002-04-07 13:20:26 +00:00
Josef Karthauser
7c21b0290d
MFNetBSD: ukbd.c (1.52), usbdi.c (1.54), usbdi.h (1.35)
...
date: 2000/01/16 09:37:18; author: augustss;
Let usbd_set_polling() work on a usbd_device_handle instead of
a usbd_interface_handle.
2002-04-07 13:16:18 +00:00
Josef Karthauser
58af1b84da
MFNetBSD: usbdi.c (1.93), usbdi.h (1.59)
...
date: 2001/12/24 21:36:15; author: augustss;
Add some more DIAGNOSTIC tests.
Make usb_match_device() match on USB_PRODUCT_ANY.
2002-04-07 12:42:18 +00:00
Josef Karthauser
4d20078c4a
MFNetBSD:
...
revision 1.92
date: 2001/12/12 15:38:58; author: augustss; state: Exp; lines: +7 -3
Some more paranoia checks when DIAGNOSTIC.
2002-04-07 12:38:16 +00:00
Josef Karthauser
59b1ccec79
Move a function to a different place in the source so that we match
...
NetBSD.
2002-04-07 12:32:55 +00:00
Josef Karthauser
f7f4bdbbcb
Update $NetBSD$ ident.
2002-04-07 12:29:55 +00:00
Josef Karthauser
0de7764a0a
MFNetBSD:
...
revision 1.88
date: 2001/11/22 04:31:01; author: augustss; state: Exp; lines: +3 -3
Improve dump routine slightly.
2002-04-07 12:25:55 +00:00
Josef Karthauser
081d87cd07
MFNetBSD:
...
revision 1.87
date: 2001/11/21 15:37:41; author: augustss; state: Exp; lines: +5 -5
Fix indentation and typos.
2002-04-07 12:24:55 +00:00
Josef Karthauser
906e5d2c1b
We not long need to use USBD_NO_TSLEEP.
2002-04-07 12:19:50 +00:00
Josef Karthauser
f046c9272a
MFNetBSD: usbdi.c (1.80), usbdi.h (1.51)
...
date: 2001/04/13 11:19:58; author: augustss;
Finally get rid of the UGLY and EVIL hack for avoiding tsleep().
2002-04-07 12:18:52 +00:00
Josef Karthauser
3847d1fda8
MFNetBSD: if_aue.c (1.26), if_auereg.h (1.6), if_cue.c (1.10),
...
if_cuereg.h (1.5), if_kue.c (1.11), if_kuereg.h (1.5)
date: 2000/03/02 12:37:51; author: augustss;
Use ratecheck() to limit error messages on disconnect.
Break out some common functionality.
2002-04-07 12:04:02 +00:00
Josef Karthauser
dfdec0c69e
MFNetBSD: usbdi.c (1.63), usbdi.h (1.41)
...
date: 2000/03/02 12:37:51; author: augustss;
Use ratecheck() to limit error messages on disconnect.
Break out some common functionality.
We don't have ratecheck() in our kernel yet, so I've hardcoded
usb_ratecheck() to return true always.
2002-04-07 11:56:19 +00:00
Josef Karthauser
7f31496b8f
MFNetBSD:
...
revision 1.110
date: 2001/11/20 16:08:10; author: augustss; state: Exp; lines: +5 -4
Use longer reset for root hubs (as told in the spec).
2002-04-07 11:42:39 +00:00
Josef Karthauser
9bf191c521
MFNetBSD: ohci.c (1.104), ohcivar.h (1.28)
...
date: 2001/09/28 23:57:21; author: augustss;
Reenable RHSC interrupt after one second so hot plugging works.
(From OpenBSD.)
2002-04-07 11:33:55 +00:00
Josef Karthauser
b6955189b1
Reduce the difference between our version and NetBSD's. (No
...
functional changes.)
2002-04-07 11:29:31 +00:00
Josef Karthauser
896b2b5334
MFNetBSD:
...
revision 1.57
date: 2001/11/20 16:08:37; author: augustss; state: Exp; lines: +3 -2
Add a comment.
2002-04-07 11:20:41 +00:00
Josef Karthauser
05f37aafc4
MFNetBSD: ohci.c (1.109), uhci.c (1.144), uhub.c (1.56), usb.c (1.57),
...
usbdi.c (1.86), usbdivar.h (1.66)
[Some partial, because most of this was merged in a while ago]
date: 2001/11/20 13:48:03; author: augustss;
Keep track of device speed for USB 2.0.
2002-04-07 11:19:05 +00:00
Josef Karthauser
3b0f6960df
MFNetBSD:
...
revision 1.55
date: 2001/11/16 02:21:54; author: augustss; state: Exp; lines: +4 -4
Better error message.
2002-04-07 10:59:02 +00:00
Josef Karthauser
bcfc7cc136
MFNetBSD: uhub.c (1.54), usb_subr.c (1.92)
...
date: 2001/11/16 01:57:47; author: augustss;
Handle devices that disappear during reset gracefully.
2002-04-07 10:57:42 +00:00
Josef Karthauser
05172ec004
MFNetBSD: usbdi.c (1.85), usbdi.h (1.54), usbdi_util.c (1.37)
...
date: 2001/11/15 15:15:59; author: augustss;
usbd_interface2device_handle() cannot fail.
2002-04-07 10:50:41 +00:00
Josef Karthauser
2bffc02359
MFNetBSD: usbdi.c (1.82), usbdivar.h (1.64)
...
date: 2001/11/10 16:54:56; author: augustss;
Add some dump routines for debugging.
2002-04-07 10:41:51 +00:00
Josef Karthauser
264bb28fd4
MFNetBSD:
...
revision 1.81
date: 2001/04/17 00:05:33; author: augustss; state: Exp; lines: +7 -1
Add a DIAGNOSTIC.
2002-04-07 10:38:07 +00:00
Josef Karthauser
eaf587ef2b
MFNetBSD: usb_subr.c (1.90), usbdi.c (1.83), usbdivar.h (1.65)
...
date: 2001/11/10 17:11:38; author: augustss; state: Exp; lines: +1 -2
Get rid of unused abort_handle.
2002-04-07 10:36:15 +00:00
Josef Karthauser
93eb6f1095
MFNetBSD:
...
revision 1.52
date: 2001/10/26 17:53:59; author: augustss; state: Exp; lines: +8 -2
Compare pointer with NULL instead of using them as a condition.
2002-04-07 10:31:39 +00:00
Josef Karthauser
60fb1d5b78
MFNetBSD:
...
revision 1.51
date: 2001/10/24 15:30:17; author: augustss; state: Exp; lines: +3 -3
Better debug message.
2002-04-07 10:29:48 +00:00
Josef Karthauser
88f36e5813
MFNetBSD:
...
revision 1.107
date: 2001/11/10 17:09:28; author: augustss; state: Exp; lines: +31 -26
Improve dump routines.
2002-04-07 10:24:52 +00:00
Josef Karthauser
138483b713
MFNetBSD:
...
revision 1.106
date: 2001/11/09 15:01:57; author: augustss; state: Exp; lines: +73 -57
Fix a bug in xfer abort processing when the HC executes ahead of what
the driver aborts.
Don't block RHSC interrupts.
2002-04-07 10:21:16 +00:00
Josef Karthauser
f1310c18b4
MFNetBSD:
...
revision 1.105
date: 2001/11/07 02:55:04; author: augustss; state: Exp; lines: +17 -3
Improve some debug messages.
2002-04-07 10:12:40 +00:00
Josef Karthauser
649e8d680c
MFNetBSD: ohci.c (1.104), ohcireg.h (1.28)
...
date: 2001/09/28 23:57:21; author: augustss;
Reenable RHSC interrupt after one second so hot plugging works.
(From OpenBSD.)
2002-04-07 10:09:23 +00:00
Josef Karthauser
44f1123ff9
MFNetBSD:
...
revision 1.103
date: 2001/09/11 07:00:19; author: augustss; state: Exp; lines: +4 -1
Don't go top mode OPERATIONAL (before reset) on startup even
if BIOS claims to have initialized the controller.
2002-04-07 10:04:16 +00:00
Josef Karthauser
fbc2dfc441
MFNetBSD:
...
revision 1.102
date: 2001/04/01 15:00:29; author: augustss; state: Exp; lines: +3 -1
Add two missing splx() (inside DIAGNOSTIC). From OpenBSD.
2002-04-07 10:02:45 +00:00
Poul-Henning Kamp
1ae3f81d9b
Constify.
...
Sponsored by: DARPA & NAI Labs.
2002-04-07 09:58:28 +00:00
Josef Karthauser
16b08d2552
MFNetBSD:
...
revision 1.142
date: 2001/10/25 02:08:13; author: augustss; lines: +14 -16
Change reset sequence to get status change bits set right on startup.
2002-04-07 09:57:23 +00:00
Josef Karthauser
4792bfc8f6
MFNetBSD:
...
revision 1.141
date: 2001/10/24 21:04:04; author: augustss; Exp; lines: +20 -4
Some more paranoia tests when entering the interrupt routine.
2002-04-07 09:52:49 +00:00
David Malone
cf4ce70bb3
Remove a comment which relates to the old name cache code, which
...
was replaced in 1997.
Approved by: phk
2002-04-07 08:58:31 +00:00
Søren Schmidt
a12b615d49
Add yet another ATA133 Promise chip.
2002-04-07 07:53:34 +00:00
Alan Cox
ae124fc4bd
Reduce the duplication of code for error handling in _aio_aqueue().
2002-04-07 07:17:59 +00:00
Peter Wemm
3892098bea
ia64 depends on ACPICA on actual hardware. It might be worth having a
...
seperate SKI config (like we had SIMOS for alpha).
2002-04-07 04:36:02 +00:00
Peter Wemm
6e068bd9ae
Now that we can thorougly self compile the kernel, stop hard coding the
...
cross compiler names.
2002-04-07 04:34:21 +00:00
Peter Wemm
c21ab46789
We must not let install(1) strip loader.efi when installing it, or the
...
resulting binary will be damaged and no longer work.
2002-04-07 04:27:50 +00:00
Peter Wemm
1e7e1ea54d
Set BINDIR
2002-04-07 04:26:42 +00:00
Peter Wemm
f3693129ce
Add loader bootforth infrastructure and install it.
2002-04-07 04:25:45 +00:00
Dima Dorfman
94f11749cd
Minor style cleanup. Remove unneeded includes, and correct or add
...
some comments.
Reviewed by: bde
2002-04-07 03:59:31 +00:00
Alan Cox
63a4964eec
Change jobref and *ijoblist from int to long in order to avoid
...
a catastrophe after the 2^32nd AIO operation on 64-bit architectures.
2002-04-07 01:28:34 +00:00
Josef Karthauser
db3c6cb423
Iron out some obvious differences between NetBSD's and own version of
...
this file.
2002-04-06 22:06:16 +00:00
Josef Karthauser
8d3dd017ad
Define away 'Static' when compiling with USB_DEBUG defined, to make it
...
easier to debug.
2002-04-06 21:46:47 +00:00
Josef Karthauser
6a69a08a22
Use the UE_GET_XFERTYPE macro.
2002-04-06 21:28:57 +00:00
Marcel Moolenaar
621342bc34
Add prototype for bootpc_init when BOOTP is defined.
2002-04-06 21:09:08 +00:00
David E. O'Brien
afdea8fc55
Make the previous revision work a little bit better.
2002-04-06 21:08:59 +00:00
Josef Karthauser
dc2aa84c92
Remove some old unused cruft.
2002-04-06 21:03:49 +00:00
David E. O'Brien
1730dab2e6
Add __SCCSID. And add the NO__SCCSID, NO__RCSID, NO__RCSID_SOURCE, and
...
NO__COPYRIGHT knobs to more easily deal with imported vendor sources.
2002-04-06 20:57:03 +00:00
Josef Karthauser
2ce84795da
Another step in merging our if_aue driver with NetBSD's.
2002-04-06 20:50:21 +00:00
Josef Karthauser
396a51fb2f
Rename csr_{read,write}_* to cue_csr_{read,write}_*.
2002-04-06 20:24:25 +00:00
Josef Karthauser
47c61eef1b
Rename foo_gone to foo_dying, in keeping with the rest of the usb code.
2002-04-06 20:17:13 +00:00
Josef Karthauser
3d9e00aa02
Replace device_t with device_ptr_t.
2002-04-06 19:55:52 +00:00
Josef Karthauser
fc5290cfa4
Regenerate.
2002-04-06 19:35:00 +00:00
Josef Karthauser
4ad5d253df
Remove a erroneous entry for HP 5400C.
...
Spotted by: phk
2002-04-06 15:00:41 +00:00
Poul-Henning Kamp
86383b37c0
Fix a typo in the definition of HP1220C and add a quick entry for
...
broken bidir mode for at as well.
2002-04-06 13:28:02 +00:00
Josef Karthauser
28543fc9c6
Regenerate.
2002-04-06 13:07:05 +00:00
Josef Karthauser
46d8539f1c
Add some more printer devices:
...
DeskJet 1220C from phk
Scanjet 5400C from NetBSD
Inkjet P-2000U from NetBSD
2002-04-06 13:06:07 +00:00
Josef Karthauser
1ea26b29b6
Synchronise with NetBSD for order and formatting; no functional changes.
2002-04-06 13:01:39 +00:00
Doug Rabson
ce5c49f1aa
Merge fixes for dbtob() and btodb() from alpha/include/param.h. This stops
...
ffs_snapshot() from using negative numbers for byte offsets in large file
systems.
2002-04-06 12:55:48 +00:00
Josef Karthauser
9ad42ab594
Add a new vendor: MINOLTA, and some products by them.
...
Partially submitted by: asmodai
2002-04-06 12:27:23 +00:00
Jake Burkholder
c8eabf779c
Enable isp and ispfw. Remove the nonexistant SUN_DISKLABEL and
...
ATA_ENABLE_BUSMATER.
2002-04-06 09:33:24 +00:00
Jake Burkholder
98281c99fc
Remove a stale comment.
2002-04-06 08:44:04 +00:00
Jake Burkholder
a9f5d33875
Include machine/ktr.h for sparc64 so we pick up KTR_CPU.
2002-04-06 08:43:17 +00:00
Jake Burkholder
274ae7b653
Provide an implementation of KTR_CPU that doesn't use pcpu, so we don't
...
crash and burn if its not setup yet. Add timestamp, cpu, and (fake) file
and line recording to the asm version of CTR.
2002-04-06 08:40:59 +00:00
Jake Burkholder
902200a1e5
Correct KINFO_PROC_SIZE for sparc64 due to segsz_t change.
2002-04-06 08:30:05 +00:00
Jake Burkholder
da07128555
segsz_t needs to be 64bit for sparc64.
2002-04-06 08:29:18 +00:00
Yoshihiro Takahashi
181593adec
Move ICU_* defines into icu.h.
2002-04-06 08:25:05 +00:00
Yoshihiro Takahashi
78ee686247
Remove pc98 code.
2002-04-06 08:22:33 +00:00
Jake Burkholder
c4c03d1766
Remove invalid KASSERTS.
2002-04-06 08:21:43 +00:00
Jake Burkholder
a30d7c60f6
Use CTASSERT rather than a runtime check to detect kinfo_proc size changes.
...
Remove the ugly yuck code to busy wait for 20 seconds.
2002-04-06 08:13:52 +00:00
Yoshihiro Takahashi
ba5c05f60b
Merged from sys/dev/syscons/syscons.c revisions 1.381 and 1.382.
2002-04-06 06:47:23 +00:00
Yoshihiro Takahashi
58823205c4
Merged from sys/isa/fd.c revision 1.228.
2002-04-06 06:43:55 +00:00
Yoshihiro Takahashi
d7ef6277af
Added the new kernel dumping support for pc98.
2002-04-06 06:41:54 +00:00
Yoshihiro Takahashi
dda7d4dcec
Merged from sys/dev/sio/sio.c revisions 1.370 and 1.371.
2002-04-06 06:19:10 +00:00
Marcel Moolenaar
9281a1bd5f
Fix a braino in the alignment of the segment contents after dumping
...
the program headers. As a result of this, dumplo was advanced too
much causing the end of the dump and most notably the trailing
dump header to be written beyond the end of the the dump medium.
2002-04-06 05:56:33 +00:00
Peter Wemm
01c0b884af
Make it a bit closer to the EFI build and tie up some loose ends.
2002-04-06 04:33:53 +00:00
Peter Wemm
e91ab65ef6
Try and tidy up some very loose ends with paths to various libraries etc.
2002-04-06 04:29:36 +00:00
Peter Wemm
402e50591a
Do not add the ficl/alpha subdir to the ia64 include path. Try ficl/ia64
...
instead.
2002-04-06 04:16:58 +00:00
Peter Wemm
5459842c5e
Do not assume that ${OBJCOPY} variable exists. It was hidden by the
...
fact that the 'ia64-make' wrapper explicitly set it.
2002-04-06 04:11:46 +00:00
Peter Wemm
93b4f334b6
Use the correct elf hash table entry type. This matches a similar fix
...
in the kernel side of things some time ago. The hash table entries are
always 32 bits wide, even on 64 bit machines.
2002-04-06 04:09:42 +00:00
Peter Wemm
a6d81d83a2
Fix self hosted loader building. When you use a self configured gcc, it
...
detects and uses the gas section merge support. As a result, a whole bunch
of new sections arrive, including .rodata.str1.8, which was not included
in our custom ldscript.ia64. The result was a loader binary that EFI
rejected.
While here, collect the loader shell commands linker set and include it
in the data area rather than having its own section.
/boot/loader.efi was the last holdout for having a 100% self built ia64
system.
2002-04-06 03:39:22 +00:00
Matthew N. Dodd
8e5fd46198
Use <net/fddi.h> rather than <netinet/if_fddi.h>.
2002-04-06 03:21:46 +00:00
Prafulla Deuskar
076c4c2633
Added support for 82540EM based cards.
...
Cosmetic changes to make code more unix-like.
MFC after: 1 week
2002-04-06 00:36:53 +00:00
Scott Long
fee435e8ac
Add support for the Dell 2650
...
Submitted by: andrew_bachler@dell.com
2002-04-05 20:00:29 +00:00
Matthew N. Dodd
b0c570df3f
Retire this copy; it now lives in sys/net/fddi.h.
2002-04-05 19:24:38 +00:00
Søren Schmidt
32dbed0488
Unlock the channel again if an ata_reinit() fails.
2002-04-05 18:37:04 +00:00
Alfred Perlstein
ae4f6a8242
remove blanktime sysctl, this can't be done as easily as it looks.
...
Requested by: jhb
2002-04-05 18:17:49 +00:00
Søren Schmidt
268f0ea9a3
Change option ATA_ENABLE_BUSMASTER into ifdef __sparc64__
2002-04-05 18:05:17 +00:00
Søren Schmidt
ede0f136df
Cleanups.
2002-04-05 18:04:05 +00:00
Søren Schmidt
2c1f56d442
Cleanup, use the same method to denote parts for endianess.
2002-04-05 18:03:33 +00:00
Søren Schmidt
111ab6f7ed
Dont allow to detach twice.
2002-04-05 18:02:33 +00:00
Alfred Perlstein
de4dc9595e
Add some functionality via sysctl to syscons.
...
hw.syscons.saver.keybonly: used to specify that only input is to
interrupt the screensaver. This allows one to run a chatty console
app but still have the screen blank out until a key is pressed.
There should probably also be an ioctl for this, we'll do that later.
hw.syscons.saver.blanktime: exports the screensaver timeout via sysctl.
Submitted by: Olivier Houchard <doginou@cognet.ci0.org>
2002-04-05 17:53:25 +00:00
Poul-Henning Kamp
e9ad04e4e6
Make LINT compile again.
2002-04-05 17:45:47 +00:00
Warner Losh
c385d0928b
catch up to 1.31
2002-04-05 16:25:34 +00:00
Warner Losh
0d1049364f
Add 3crwe77a
2002-04-05 16:25:03 +00:00
Søren Schmidt
22c60e8d8c
Add forgotten ATA_UNLOCK_CH when getting status from non-existing
...
enclosure.
2002-04-05 15:58:45 +00:00
Bruce Evans
11257f4d1a
Fixed assorted bugs in setting of timestamps in devfs_setattr().
...
Setting of timestamps on devices had no effect visible to userland
because timestamps for devices were set in places that are never used.
This broke:
- update of file change time after a change of an attribute
- setting of file access and modification times.
The VA_UTIMES_NULL case did not work. Revs 1.31-1.32 were supposed to
fix this by copying correct bits from ufs, but had little or no effect
because the old checks were not removed.
2002-04-05 15:16:08 +00:00
Bruce Evans
32a95d83f9
Fixed a very old bug in setting timestamps using utimes(2) on msdosfs
...
files. We didn't clear the update marks when we set the times, so
some of the settings were sometimes clobbered with the current time a
little later. This caused cp -p even by root to almost always fail
to preserve any times despite not reporting any errors in attempting
to preserve them.
Don't forget to set the archive attribute when we set the read-only
attribute. We should only set the archive attribute if we actually
change something, but we mostly don't bother avoiding setting it
elsewhere, so don't bother here yet.
MFC after: 1 week
2002-04-05 14:01:04 +00:00
Søren Schmidt
7800211b08
Make the ATA driver compile & work on the sparc64 platform.
...
Initial work & code by tmm.
Lots of changes and rearrangements by yours truely to make busdma
be a little less a PITA (but I still dont like it).
2002-04-05 13:13:56 +00:00
Søren Schmidt
e8a0928f7e
Add endianess kludge code, so that bitfields work on the sparc64 as well.
...
Bad GCC, no cookies...
2002-04-05 13:10:26 +00:00
Bruce Evans
c78f394575
Updated a doubly stale comment about signotify(). Fixed a nearby long line.
2002-04-05 10:00:37 +00:00
Thomas Moestl
30ee385691
Fix the ofw_isa.c entries, readd ofw_bus.c.
...
Pointy hat to: tmm
2002-04-05 02:42:25 +00:00
Thomas Moestl
6ed31e9112
Add missing header for the eeprom driver frontents.
2002-04-05 02:40:54 +00:00
Peter Wemm
911fc92344
Increase the size of the register stack storage on ia64 from 32K to 2MB so
...
that we can compile gcc. This is a hack because it adds a fixed 2MB to
each process's VSIZE regardless of how much is really being used since
there is no grow-up stack support. At least it isn't physical memory.
Sigh.
Add a sysctl to enable tweaking it for new processes.
2002-04-05 01:57:45 +00:00
Matt Jacob
f35c4ba63a
Send 32 bytes out for fc4_types... Interestingly enough the Solaris/Sparc
...
version worked fine, but Linux/Sparc && FreeBSD/Sparc choked.
MFC after: 1 week
2002-04-05 01:40:05 +00:00
Warner Losh
8838e07eeb
The 3Com 3CRWE62092A (the XJack antenna product) does not have a host
...
interface that is compatible with the LUCENT or HERMES firmware.
Instead, it is like the various No Wires Necessary products that were
produced a while ago and then sold to intersil. It will require a
different driver altogether. Remove it from the list of supported
cards.
The 3CRWE777A apperas to be a re-badged SMC 2602W card, so the driver
appears to support it. Add it to the list.
Thanks to Todd Miller for loaning me the card during tonight's FRUUG
meeting for testing against CU's wireless infrastructure.
2002-04-05 01:31:30 +00:00
Alan Cox
aa4d062142
o Eliminate the use of grow_stack() and useracc() from sendsig(), osendsig(),
...
and osf1_sendsig().
o Eliminate the prototype for the MD grow_stack() now that it has been removed
from all platforms.
2002-04-05 00:52:15 +00:00