Commit Graph

34761 Commits

Author SHA1 Message Date
soda
b1163d2576 Moved from /cvsroot/syssrc/sys/arch/pica/conf/GENERIC,v 2000-01-23 20:08:02 +00:00
soda
21ad5df369 Moved to /cvsroot/syssrc/sys/arch/arc/compile/.keep_me,v 2000-01-23 20:08:01 +00:00
soda
beb0eab85a Moved from /cvsroot/syssrc/sys/arch/pica/compile/.keep_me,v 2000-01-23 20:08:00 +00:00
soda
65910335d5 Moved to /cvsroot/syssrc/sys/arch/arc/TODO,v 2000-01-23 20:08:00 +00:00
soda
efb787fdae Moved from /cvsroot/syssrc/sys/arch/pica/TODO,v 2000-01-23 20:07:59 +00:00
soda
690a7b0a0d Moved to /cvsroot/syssrc/sys/arch/arc/Makefile,v 2000-01-23 20:07:59 +00:00
soda
ef91d7cbed Moved from /cvsroot/syssrc/sys/arch/pica/Makefile,v 2000-01-23 20:07:58 +00:00
matt
46b238cab4 remove volatile from softc. cleanup interrupt initialization. 2000-01-23 18:53:11 +00:00
mycroft
7b49d242ce Clean up the machine symlink stuff ever so slightly. Needs to be
standardized between files.
2000-01-23 17:04:03 +00:00
mycroft
f456106d03 Fix the symlink hack. 2000-01-23 16:45:54 +00:00
mycroft
295c3f303e Fix the symlink hack. 2000-01-23 16:44:18 +00:00
tsubai
ddec291d99 Fix cf_unit usage. 2000-01-23 15:58:04 +00:00
tsubai
eda36600e0 Fix wrong usage of cf_unit. 2000-01-23 15:49:11 +00:00
tsubai
d9d54bf806 Use flags to determine PCLK rather than use unit number. 2000-01-23 15:27:43 +00:00
tsubai
83be2572a7 Don't need to declare badaddr(). 2000-01-23 14:57:10 +00:00
tsubai
969c226b5b Match "keylargo". 2000-01-23 10:01:44 +00:00
tsubai
1ef6ee50b9 Regen. 2000-01-23 09:55:40 +00:00
tsubai
9aa167f517 Add Apple KeyLargo and UniNorth. 2000-01-23 09:54:28 +00:00
mycroft
901082bf1e Remove code that should not have been added. 2000-01-23 04:02:19 +00:00
tron
156ac6704c Add commented out entry for overlay filesystem. 2000-01-23 01:06:33 +00:00
mycroft
0153fa8a4d Regen. 2000-01-23 01:01:51 +00:00
mycroft
db70ed30f4 Use proper varargs format for __semctl13. 2000-01-23 01:01:30 +00:00
augustss
75e8c400fa Add parens so a ?: expression binds correctly. 2000-01-23 00:10:03 +00:00
mycroft
c6a0f46b4f Delint. 2000-01-22 22:53:59 +00:00
mycroft
c26054b799 Delint. 2000-01-22 22:40:58 +00:00
is
e084c6cfec Tell changers to commit AMIGA and DRACO, too. 2000-01-22 21:16:56 +00:00
is
236fe18599 synchronize this with GENERIC. 2000-01-22 21:09:38 +00:00
thorpej
b176cb0869 Add OPMODE_FD (full-duplex) to the media-related OPMODE bitmask. This
will cause the Tulip to be reset when this bit is toggled.  This is
apparently required for some chip revs.

From Matt Thomas.
2000-01-22 21:05:53 +00:00
thorpej
5422cfb256 Fix netisr processing for PPP when there is only one device configured.
port-alpha/9257, Kevin P. Neal.
2000-01-22 18:28:04 +00:00
thorpej
2ad35b74df After some discussion with Mycroft, change splstatclock() to splclock().
The rule is that you don't get to call scheduler-related functions (e.g.
wakeup()) above the clock interrupt.  Going to statclock unnecessarily
hoses e.g. serial interrupts on the SPARC.
2000-01-22 16:53:50 +00:00
drochner
05261ccb43 include "rnd.h" explicitely since the size of sd_softc depends on it
(sd_scsi.c and sd_atapi.c missed it, leading to random memory corruption)
2000-01-22 16:35:25 +00:00
thorpej
2ab34248eb Back out rev 1.36... what was I thinking? Also, update the comment that
led me astray to reflect reality.
2000-01-22 16:32:02 +00:00
drochner
dadc2bc21d pass raw keyboard data unsigned to avoid sign extension 2000-01-22 15:09:00 +00:00
pk
d76bf6c906 Try both the BOOTPARAMS and BOOTP protocol (in that order). This also
takes care of PR#8738.
2000-01-22 12:34:57 +00:00
takemura
56c6e7faaf Add a menu item for MC-R430.
Change frame buffer type of MC-R530, which had been inversed B/W.
2000-01-22 11:03:16 +00:00
takemura
251cab4f98 Add platform ID of MC-R430. 2000-01-22 10:51:29 +00:00
takemura
5b9cd9b86f Fix a problem which is reported in PR port-hpcmips/9207.
Vrkiu_cngetc() had returned WSCONS_EVENT_ALL_KEYS_UP if there are no event to
report. Modification keys like shift-key had been canceled by that event.
2000-01-22 09:12:35 +00:00
tsutsui
b236cf48c3 check whether tv_usec >= 1000000 2000-01-22 05:21:24 +00:00
mjacob
91c88eb52f PR/9271 (from srp@zgi.com)- recognize (indirectly) HP4000s via density
code and do the right QIC type dance (1 FM @EOT, fixed block size).
2000-01-22 04:29:58 +00:00
thorpej
6bf314dccf NetBSD 1.4Q -- buffer queue changes. 2000-01-21 23:48:07 +00:00
thorpej
0b0aecffd6 Update for sys/buf.h/disksort_*() changes. 2000-01-21 23:43:10 +00:00
thorpej
f7c9b87381 Update for sys/buf.h/disksort_*() changes, plus make it compilable on
more systems.
2000-01-21 23:41:45 +00:00
thorpej
dc59bc1db3 Update for sys/buf.h/disksort_*() changes. 2000-01-21 23:39:55 +00:00
thorpej
52242fdf9f Update for sys/buf.h/disksort_*() changes. 2000-01-21 23:28:59 +00:00
thorpej
0ef111e8ee - Implement bowrite() -- perform an asynchronous, ordered write. 2000-01-21 23:22:24 +00:00
thorpej
e3d3905ac7 Preserve B_ORDERED. 2000-01-21 23:21:46 +00:00
thorpej
05c6b5a9a0 - Add a B_ORDERED flag to communicate to drivers that an I/O request should
be issued/completed in order; that is, provide a barrier for I/O queues.
- Change the buffer driver queue links to a TAILQ, rather than using
  a home-grown equivalent.  Provide BUFQ_*() macros to manipulate buffer
  queues; these deal with the barrier provided by B_ORDERED.
- Update disksort() accordingly, and provide 3 versions:
	- disksort_cylinder(): historical disksort(), which keys on
	  b_cylinder (and b_blkno for the case when b_cylinder matches).
	- disksort_blkno(): sorts only on b_blkno.  Essentially the
	  same as disksort_cylinder(), but with fewer comparisons.
	- disksort_tail(): requests are simply inserted into the queue
	  at the tail.  This is provided as an option so that drivers
	  can simply have a pointer to the appropriate sort function.
  Note that disksort() now pays attention to B_ORDERED.
2000-01-21 23:20:51 +00:00
mjacob
04b750733c slight change for platform independence 2000-01-21 21:19:57 +00:00
mjacob
7faf9d32ea cleanup SAF-TE attachment code 2000-01-21 21:10:41 +00:00
tsubai
2d0426d8d2 Recognize MPC7400. 2000-01-21 18:49:52 +00:00
tsubai
16ea7fbbbb Match "keylargo-ata". 2000-01-21 18:45:14 +00:00
mjacob
eb5546b1cb add cdev_ses_init alias to cdev__oci_init 2000-01-21 17:52:29 +00:00
tsutsui
331b00d2d8 Add "dumps on none" to config. 2000-01-21 13:38:47 +00:00
pk
df99dfd934 Simplify toggling the FTP bit on sun4m machines. 2000-01-21 13:25:12 +00:00
pk
252d47729f Update FDC offsets used by fdintr.s 2000-01-21 13:24:06 +00:00
pk
6b2ebb44a7 Move several PIL_* definitions into the scope of LOCORE stuff. 2000-01-21 13:22:55 +00:00
pk
f8ac5484fa Medium sized code overhaul:
* Improve communication between the `hard' and `soft' interrupt handlers
  to better distinguish various interrupt sources.
* Eliminate several race conditions where we would set a time out handler
  only after starting the command on the hardware.
* Handle most timeouts by resetting the controller; there isn't much chance
  of recovery in any other way.  Currently, the exception is a timeout
  on I/O, in which case we first try to pulse the controller's TC line
  in order to abort the pseudo-dma sequence.  Apparently, "normal"
  conditions can induce such a timeout when there's no disk in the drive.
* Reduce the formatting gap parameter to 0x54.
* On the obio bus, interpret the `status' attribute.
* Minimize console diagnostic output if the errors we get appear to be
  caused by the absence of a disk.
2000-01-21 13:22:01 +00:00
tsutsui
a914ad6061 - use the raw partition for ioctl; `control device' is gone.
- remove `sc_flags' member from md_softc
 - add check code whether the md device is configured in mdread/mdwrite
2000-01-21 12:14:53 +00:00
shin
7d6a332830 change miniroot size. 2000-01-21 11:29:53 +00:00
sommerfeld
aa195e816f Fix PR9240: comment above cpu_fork() out of synch with reality on most ports.
(comment change only, but was wrong for more than just i386).
2000-01-20 22:18:54 +00:00
thorpej
0835b779d1 Simplify sbdsp_pause(). 2000-01-20 19:27:03 +00:00
wrstuden
87e1b0f9b7 Add overlay to kernel configs. 2000-01-20 19:12:28 +00:00
wrstuden
fab192f2d2 Add overlay, a layered file system which overlays itself on
the underlying fs, rather than exporting it to another part of the
directory name space.
2000-01-20 19:06:13 +00:00
mjacob
e1598bac13 fix misspelling 2000-01-20 17:16:25 +00:00
mjacob
c6459da685 add SES device 2000-01-20 17:13:27 +00:00
mjacob
015af0db9d add a (currently unused) option reference to isp_target mode 2000-01-20 17:12:34 +00:00
mjacob
56196ffa4e Nobody said no to adding a pointer to original scsi inquiry data
to the scsibus attach args. Make sure it's nulled for ATAPI. Also,
for scsiconf.c, modify SENA's quirk entry.
2000-01-20 17:10:18 +00:00
mjacob
3bcc285367 add SES driver 2000-01-20 17:07:41 +00:00
christos
c6b70bdfe2 Use .PATH.c not .PATH otherwise builds without objdirs fail from biosboot_com0.
Reported by Tron.
2000-01-20 16:51:01 +00:00
mjacob
a8f0034523 add SES device 2000-01-20 16:07:43 +00:00
drochner
8395a5e928 like com.c, raise DTR/RTS in console initialisation 2000-01-20 15:22:57 +00:00
enami
b7868a436d Don't overwrite cfe->flags. 2000-01-20 08:47:59 +00:00
enami
747ef6745c If server name field is overloaded for other purpose, or it just contains
NULL string, don't use it as server name.
2000-01-20 08:34:52 +00:00
enami
9d51226cc3 fix typo in comment. 2000-01-20 03:19:27 +00:00
matt
5d5b2822ec Don't need to include opt_vax8600.h. Always defined the 8600 specific bits. 2000-01-20 00:07:49 +00:00
thorpej
e92c1387ea G/c unused variable. 2000-01-19 23:06:06 +00:00
thorpej
a0397a2573 Move callout initialization to a single location; no need to duplicate
that code all over the place.
2000-01-19 20:05:30 +00:00
tsutsui
e61f177ab1 STRIP -> STRIPPROG 2000-01-19 16:29:54 +00:00
tsutsui
995d49ac90 Add #include <machine/cpu.h> 2000-01-19 16:13:50 +00:00
itojun
1061ba6b37 another possible PR9189 issue (panic on sparc). 2000-01-19 15:59:14 +00:00
tsutsui
644b514c39 Change STRIPFLAGS=-g for cross-toolchains. 2000-01-19 14:44:58 +00:00
cjs
b54595a488 Make sure that everything in GENERIC is in ALPHA, and that the two files
have config lines in the same order to make diffing easier.
2000-01-19 13:53:47 +00:00
leo
7396daca2b No longer abuse cf_unit. This broke with the latest autoconf changes. 2000-01-19 13:23:14 +00:00
leo
4911054546 Allow storage-space to be passed to the alloc_bus_space_tag() functions. This
permits static tags to be used during early console init.
2000-01-19 13:12:54 +00:00
cjs
73b79d6c25 Make sure that everything in GENERIC is in ALPHA, and that the two files
have config lines in the same order to make diffing easier.
2000-01-19 07:04:23 +00:00
cjs
c79473b2b7 Add vr driver and missing phys. 2000-01-19 06:09:03 +00:00
jonathan
83eb9e9fb4 Add accidentally-omitted prototype for time_pps_kcbind() so userlevel PPSAPI
client code compiles with -Wall -Wstrict-prototypes-Wmissing-prototypes.
2000-01-19 03:33:18 +00:00
danw
6c14ba0dba Fill in the alignment trap handler a bit: now it can fix unaligned
floating point loads and stores (to work around a gcc bug), but will
still cause a bus error on other sorts of unaligned accesses.
2000-01-19 03:30:12 +00:00
danw
83cfcdd15a Add a special trap handler for EXC_ALI that saves dsisr and dar 2000-01-19 03:28:21 +00:00
mycroft
c10e001ee2 Sync, +IPv6. 2000-01-19 03:05:06 +00:00
mycroft
1c92c8d7ed Add a sequencer to go with the midis. 2000-01-19 03:01:46 +00:00
msaitoh
0b9af6bdce check whether tv_usec >= 1000000 2000-01-19 02:52:16 +00:00
augustss
55c5d10627 Fix typos.
Never, never, never commit without compiling first.
2000-01-19 01:16:38 +00:00
augustss
fe18229923 Obey the interrupt interval here also. 2000-01-19 01:04:26 +00:00
augustss
a97cf3f9ce Fix a buglet in framelist locking. 2000-01-19 01:02:11 +00:00
abs
3a63eeee63 newline terminate ss: atatch message - from Roger Brooks 2000-01-19 01:00:07 +00:00
augustss
8d1b47c24d Poll the interrupt pipe every 100 ms instead of every 1 ms. The interrupt
pipe is only used to collect statistics so it seems rather stupid to bog
down the processor by doing this every ms.
2000-01-19 00:25:23 +00:00
augustss
c3716a6bb9 Add an argument to usbd_open_pipe_intr() to specify the polling interval
for an interrupt pipe in case we don't what what the descriptor suggests.
2000-01-19 00:23:58 +00:00
augustss
331cdec4d2 Add another item. 2000-01-19 00:20:55 +00:00
perseant
dac789be22 Changes to stabilize LFS. The first two of these should also apply to the
1.4 branch.

* Use a separate per-fs lock, instead of ufs_hashlock, to protect the Inode
  free list.  This seems to prevent the "lockmgr: %d, not exclusive lock holder
  %d, unlocking" message I was mis-attributing last night to an unlocked vnode
  being passed to vrele.

* Change calling semantics of lfs_ifind, to give better error reporting:
  If fed a struct buf, it can report the block number of the offending inode
  block as well as the inode number.

* Back out rev 1.10 of lfs_subr.c, since the replacement code was slightly
  uglier while being functionally identical.

* Make lfs_vunref use the same free list convention as vrele/vput, so that
  vget does not remove vnodes from a hash list they are not on.
2000-01-19 00:03:04 +00:00
mycroft
01c66d1c23 Mute the DAC -- not the master volume -- on close, so that CD passthrough is
unaffected.
2000-01-18 22:11:05 +00:00
augustss
21863071b1 Move the zeroing of the xfer to the individual methods. 2000-01-18 20:23:42 +00:00
augustss
f14036861f Turn xfer allocation into a method in the HC driver. The reason is that
an HC driver may want to subclass the xfer to have additional private fields.
2000-01-18 20:11:00 +00:00
thorpej
1de974fc2e Use PCI products defined in pcidevs.h 2000-01-18 20:05:23 +00:00
thorpej
f51f762b8d Update to reflect current reality. 2000-01-18 20:02:32 +00:00
thorpej
ce2b722aec No need to define MPC105 and MPC106 PCI products here. 2000-01-18 20:01:28 +00:00
thorpej
cf3cdae016 iodone() -> biodone() 2000-01-18 19:53:42 +00:00
deberg
4cf19b07ea add the NeXT mouse type 2000-01-18 19:52:50 +00:00
thorpej
c4e802b942 Use b_cylinder as defined in sys/buf.h 2000-01-18 19:52:21 +00:00
thorpej
ca44eb8d21 iodone() -> biodone(), iowait() -> biowait() 2000-01-18 19:51:03 +00:00
thorpej
d7e6de4a08 iodone() -> biodone() 2000-01-18 19:50:32 +00:00
thorpej
4f27a98702 Use b_cylinder as defined in sys/buf.h 2000-01-18 19:48:02 +00:00
augustss
4357bf2625 Pretend we can detach. Then we can at least the detach the device
if the attach fails in the middle.
2000-01-18 19:46:55 +00:00
thorpej
8808155fa6 Use b_cylinder as defined in sys/buf.h 2000-01-18 19:46:07 +00:00
augustss
aff651d2c6 Sync with reality. 2000-01-18 19:45:58 +00:00
thorpej
8201b36ca0 Use b_cylinder as defined in sys/buf.h 2000-01-18 19:43:02 +00:00
thorpej
0684e6f83b - Use b_cylinder as defined in sys/buf.h
- Add an empty dk_establish()
2000-01-18 19:40:53 +00:00
thorpej
c241e27b63 Use b_cylinder as defined in sys/buf.h 2000-01-18 19:37:58 +00:00
thorpej
d0bb9fdf22 Remove one line of junk. 2000-01-18 19:36:58 +00:00
thorpej
ed244ca8e4 Use b_cylinder as defined in sys/buf.h 2000-01-18 19:34:24 +00:00
thorpej
71b89434fa Remove one line of junk. 2000-01-18 19:33:31 +00:00
augustss
f21b1ede53 Add a little more debug printing. 2000-01-18 18:49:35 +00:00
bouyer
3c680c00ab Handle pre-FS_42POSTBLFMT. I now can mount an Ultrix file system on my
sparc without panic.
2000-01-18 18:41:29 +00:00
jlam
24ea998b2a Regen. 2000-01-18 17:20:32 +00:00
jlam
069f019108 Add Aironet Wireless Communications' vendor and product codes. 2000-01-18 17:19:33 +00:00
ad
e716b4ba71 Fix register offset problem. This should make EISA boards work correctly,
and is also needed for the ISA frontend (some time this week).
2000-01-18 16:50:38 +00:00
bouyer
0016706a70 Clean up revision stuff for the sis. Suggested by Chris Cappuccio. 2000-01-18 13:58:07 +00:00
bouyer
a569e4a38f Correct URLs. 2000-01-18 13:30:32 +00:00
simonb
251eb03a2b Only prototype and include code for scc_kbd_init() and scc_mouse_init()
if NRASTERCONSOLE > 0.  Fixes problem reported on port-pmax by Anders
Andersson.
2000-01-18 12:19:49 +00:00
cgd
ccfb44f360 use the old cloning-device cf_unit increment behaviour, if
__BROKEN_CONFIG_UNIT_USAGE is defined.
2000-01-18 07:45:04 +00:00
itojun
c521cdaa75 temporary workaround for PR9189 (panic on sparc). 2000-01-18 05:36:19 +00:00
cjs
762741c71d Fix the size of the playback buffer. Patch from Dave Sainty <dave@dtsp.co.nz>. 2000-01-18 04:48:47 +00:00
mycroft
9efabde18b Rearrange ex_intr() to use C_INTR_LATCH the same way the ep driver does,
to prevent race conditions.
2000-01-18 03:35:40 +00:00
jtk
5253149d51 add mii attribute to xe. (Needed to make PHY attachment work.) 2000-01-18 03:11:11 +00:00
msaitoh
7d3068a3b4 use macros 2000-01-17 21:59:43 +00:00
msaitoh
c330a893d5 - check whether tv_usec == 1000000, too.
- set the reload count of the timer unit 1 correctly
  (Timer unit counts from TCOR to 0 (i.e. the length of the counts equals
  to TCOR + 1)).
- use macros.
2000-01-17 21:54:32 +00:00
msaitoh
8cf5a56c3f add some bit definitions 2000-01-17 21:41:13 +00:00
bouyer
e51ae5d23a Use SCSIPIRETRIES instead of hard-coded value '2' for number of retries in
common routines. Define SCSIPIRETRIES as 4, so that the command will finally
succeed after several consecutive downgrades from UDMA2 to PIO4.
2000-01-17 17:59:48 +00:00
augustss
f7145f672e Add USB-Ethernet adapters. 2000-01-17 17:47:03 +00:00
augustss
5fe2bec33e Add Bill Paul's FreeBSD driver for the CATC USB-EL1201A chip.
XXX The driver is untested since I don't have any hardware with this chip.
2000-01-17 17:12:20 +00:00
pk
725c6438c1 Use bus_space(9) functions to access the controller registers.
Add probes to the attach routines before poking the chip to see
where the registers are located.
2000-01-17 16:57:15 +00:00
pk
2d7f7ef7a6 Use bus handle to in `struct fdio' to read the chip registers. 2000-01-17 16:53:18 +00:00
pk
611f7a9938 Add offset to bus handle in `struct fdio'. 2000-01-17 16:52:04 +00:00
kleink
6910891781 Add NAN constant glue for sh3. 2000-01-17 16:27:53 +00:00
minoura
9a0577db94 Wrong () balance in dumpsize calculation. 2000-01-17 16:17:32 +00:00
hubertf
bd2e491091 make confusion of ISO 639 and ISO 3166 less likely 2000-01-17 15:51:59 +00:00
augustss
57a4fc9141 Regen. 2000-01-17 14:56:23 +00:00
augustss
3285aaa9dc Add a bunch of devices I found at a Linux site. 2000-01-17 14:56:01 +00:00
augustss
28c8d7c7bb Remove some unnecessary cleanup. 2000-01-17 13:25:22 +00:00
augustss
3205164ec5 Add missing USBD_NO_COPY flag. 2000-01-17 13:23:05 +00:00
augustss
3e2f6f3a41 Regen. 2000-01-17 12:57:54 +00:00
augustss
5ebe8e5553 Add two CATC Ethernet adapters. 2000-01-17 12:57:27 +00:00
joda
2367ad5f3d add shutdown hook 2000-01-17 12:57:26 +00:00
shin
af0112be28 move keymap initialization into vrkiu_init(). 2000-01-17 12:22:37 +00:00
abs
0f75dd5dc4 allow ioctl() on all scanner device nodes - now SANE can work with ss* driver 2000-01-17 11:25:31 +00:00
itojun
e9100143aa in promisc mode, don't inject outgoing packet to bpf twice.
this is because the card gets the outgoing packet from itself in promisc mode
(not really IFF_SIMPLEX).
2000-01-17 07:06:57 +00:00
itojun
3867d18179 we don't need IFF_RUNNING for gif. 2000-01-17 06:29:07 +00:00
itojun
2042e749ad for gif interface, sync IFF_RUNNING with IFF_UP. it does not
make sense to leave IFF_RUNNING during !IFF_UP (it is pseudo interface
so we need to immitate - or is it okay if we don't raise IFF_RUNNING?)
2000-01-17 05:50:12 +00:00
matt
9546ee5f87 defopt VAX750 side effect. 2000-01-17 04:57:31 +00:00
matt
2665d4b7c6 defopt VAXnnn so the make depend does the right thing. 2000-01-17 04:55:25 +00:00
sato
114d690d03 delete unused codes. 2000-01-17 04:06:06 +00:00
sato
f3689bd429 - no need
-- rtc inherit offset from WinCE.
 -- keymap set by plat id.
2000-01-17 03:11:12 +00:00
matt
2dd872c9b4 defopt COMPAT_VAX1K 2000-01-17 02:59:25 +00:00
augustss
60e70258d2 Compute packet length correctly (from FreeBSD). 2000-01-17 02:20:43 +00:00
augustss
6db0de5efb Enable kue driver. 2000-01-17 02:04:01 +00:00
augustss
ab81119895 Adjust for ADS name change. 2000-01-17 01:43:31 +00:00
augustss
f18750a9df Regen. 2000-01-17 01:43:07 +00:00
augustss
4a3938b0d6 Give the ADS Ethernet adapter a better name. 2000-01-17 01:42:41 +00:00
augustss
2ea7029408 Add Bill Paul's FreeBSD driver for the Kawasaki LSI KL5KUSB101B USB Ethernet
chip.
2000-01-17 01:38:43 +00:00
augustss
ed1996fc7d Be a little more talkative on with UHCIDEBUG on errors. 2000-01-17 01:01:07 +00:00
nisimura
fc387549e3 Remove extra debugging/sanity checking code from GENERIC. 2000-01-17 00:58:01 +00:00
nisimura
d063175e87 Add a place holder. 2000-01-17 00:55:37 +00:00
bouyer
638e1a6958 Improve the downgrade logic:
- If UDMA 2 is failing try UDMA 1 first, it helps in some cases
- downgrade if we get an error in the first 4000 xfers, or if we get
  4 errors in 4000 xfers if the first 4000 went without troubles.

While I'm there commit a local change I have since some time to get my CD
probed: issue a "blanck" IDENTIFY before the one used to detect slave ghosts,
with my drive the first IDENTIFY following a controller reset fails with an
aborted command ...
2000-01-17 00:01:00 +00:00
uch
0a5ac26680 enable TX3922 write-back cache.
flip Telios fg/bg color.
2000-01-16 23:30:13 +00:00
augustss
2ec318c2e5 Update some comments. 2000-01-16 23:18:56 +00:00
augustss
cc381bcb7c Add usbd_reload_device_desc() to get the device descriptor again from a device.
Useful if e.g. downloading firmware updates the revision number.
2000-01-16 23:11:43 +00:00
uch
f96d767523 add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
2000-01-16 21:47:00 +00:00
uch
e8460d1fcb disable noisy boot message. 2000-01-16 21:39:36 +00:00
bouyer
9156026f0f From chris@openbsd.org:
"Don't enable UDMA modes for revisions of SiS 5513 < 0xd0
The only revisions I know which don't actually support UDMA are 0x09 and below..
But the only revision I know which does support UDMA is 0xd0 (and presumably
above that)"
2000-01-16 21:31:28 +00:00
is
e80be24250 Yet another cpu.h. 2000-01-16 21:19:44 +00:00
uch
dac63389a8 call config_hook_init before autoconfiguration.
initalize hr_mode.
2000-01-16 20:01:41 +00:00
itojun
68f1c29b5a typo 2000-01-16 18:34:42 +00:00
itojun
08e76e0086 add missing ipcomp cases. 2000-01-16 18:06:03 +00:00
itojun
358b6d44ac fix interop issue in ip compression. for inbound, we need to use
default window size, in case the peer uses large window size
2000-01-16 17:56:46 +00:00
augustss
dbed54b091 Get rid of some debug gunk. 2000-01-16 16:07:42 +00:00
augustss
1f4b0be350 Turn on interface OACTIVE in case of a transmit error. 2000-01-16 15:52:03 +00:00
augustss
48641e166e Put back line I lost in FreeBSD code when porting. 2000-01-16 15:43:24 +00:00
augustss
36987ec1cc Enable AUE_DEBUG the usual way. 2000-01-16 15:36:28 +00:00
augustss
6f571d15c8 Some stylistic changes. 2000-01-16 15:35:06 +00:00
augustss
f0cebaeb64 Avoid even more #include for FreeBSD. 2000-01-16 15:12:41 +00:00
augustss
ed1c6349a1 Avoid some #include for FreeBSD. 2000-01-16 15:10:27 +00:00
assar
70aab8de7d (sysctl_doeproc): make sure we release the proclist_lock even if
copyout fails
2000-01-16 15:07:48 +00:00
augustss
c48388545c Check for the right vendor/product before fiddling with the Broadcom PHY. 2000-01-16 14:24:33 +00:00
minoura
2a71e2c15e Minor cleanups & corrections. 2000-01-16 14:20:54 +00:00
ad
d2d4da8b08 Be consistant when printing haHHBA status. 2000-01-16 14:08:42 +00:00
augustss
1ef32571c0 Add some USB Ethernet adapters. 2000-01-16 13:59:38 +00:00
augustss
b4e8010107 Add initial version of a driver for the ADMtek AN986 Pegasus USB to
Ethernet chip.
Written by Bill Paul, <wpaul@ee.columbia.edu>, for FreeBSD.
Massaged by Lennart Augustsson.
XXX Needs a thread to avoid a the gruesome USBD_NO_TSLEEP hack.
2000-01-16 13:45:56 +00:00
augustss
67ad556c60 Get timeout right in the gruesome hack. 2000-01-16 13:34:51 +00:00
augustss
eb7268f16c XXX Add a temporary, gruesome hack. It allows transfers to
XXX be done using delay() instead of tsleep().
XXX This enables transfers to be made from an interrupt context, which
XXX is needed until some more threads are added to the kernel.
XXX Using this hack (which is rare) causes the kernel to busy-wait
XXX for up to 1 ms at splusb().
2000-01-16 13:22:18 +00:00
augustss
2b8a0e9b1c Remove some debug code that was commited by mistake. 2000-01-16 13:14:43 +00:00
augustss
537c04e5ee Add a flag, USBD_FORCE_SHORT_XFER, to transfers. Using this flag will
force the last packet of a transfer to be smaller than the maximum
packet size.  The only time this matters is if the transfer size is
a multiple of the maximum packet size, in which case a 0 length packet
is sent last.
Some weird devices require this behaviour to determine the end of
a transfer.
2000-01-16 13:12:05 +00:00
augustss
d837d7a740 Avoid freeing already free data when attach fails. 2000-01-16 13:05:48 +00:00
ragge
fa560ec3ee Bogus context pointer sent to sigreturn() may crash the machine.
Bug found by der Mouse.
2000-01-16 12:43:52 +00:00
augustss
9b9e6e6d2c GC an unused typedef. 2000-01-16 11:19:05 +00:00
uch
1e74db1306 RCS Id. 2000-01-16 11:14:49 +00:00
augustss
f17d5fe839 Change compat defines a little for power hooks. 2000-01-16 10:38:58 +00:00
augustss
9e5ce08183 Add framework for doing isoc transfers. The actual scheduling code
is still missing.
2000-01-16 10:35:24 +00:00
augustss
1a080201cc Add shutdown hooks to ensure that the host controller is halted when
a reboot occurs.
2000-01-16 10:27:51 +00:00
augustss
98347a7628 Add comments. 2000-01-16 09:43:43 +00:00
augustss
5a91238d5f Turn on more debugguing flags with USB_DEBUG. 2000-01-16 09:42:36 +00:00
augustss
4539a83cdc Add a DPRINTF on keyboard errors. 2000-01-16 09:41:22 +00:00
augustss
5522f8f3ba Add some files for ethernet adapters (the files are not there yet). 2000-01-16 09:40:07 +00:00
augustss
c664f35fc5 Let usbd_set_polling() work on a usbd_device_handle instead of
a usbd_interface_handle.
2000-01-16 09:37:18 +00:00
augustss
9647c5b871 Another compat define. 2000-01-16 09:34:18 +00:00
augustss
d50156f1bd Start of implementation of UpDown processing unit control. 2000-01-16 09:32:56 +00:00
perseant
bfde45e89f Make sure that vnodes are locked when inactivated (e.g. by the cleaner) 2000-01-16 09:15:51 +00:00
cgd
9a222ad604 remove .cvsignore files; if the tree doesn't clean completely, that's a bug 2000-01-16 08:27:40 +00:00
perseant
86b0e2dc16 Fix a problem in my changes of Dec 14th, that prevents removed vnodes
from being inactivated under some conditions.  Removed vnodes are now
inactivated when the VDIROP flag is cleared, and to prevent block
accounting problems this clearing has been postponed until
lfs_segunlock.
2000-01-16 05:56:14 +00:00
perseant
a38b519087 correct typo (reference uninitialized variable) 2000-01-16 04:57:08 +00:00
drochner
062970567f catch zeroed ID string (happens for disabled devices) 2000-01-16 03:30:23 +00:00
eeh
e73d544dec Interrupt handlers return zero if they didn't handle the interrupt. 2000-01-16 03:13:24 +00:00
eeh
0e1153bb9f The bootpath element must point to the appropriate bus node to work correctly. 2000-01-16 03:10:58 +00:00
takemura
45dec0d12e Convert CR/LF -> LF. 2000-01-16 03:07:22 +00:00
assar
1f511ff199 (kdb_trap): do not enter DDB on traps when db_onpanic == 0 2000-01-16 01:42:03 +00:00
matt
a9e57ac54d Fixes for 21143 and MII in full-duplex mode. 2000-01-15 18:39:31 +00:00
ad
c02df4a16e Typo. Don't worry, nothing that will cause system instability or data
corruption.
2000-01-15 18:13:22 +00:00
ad
d2d9ade964 Validate EATA signature in returned EATA configuration data before anything
else. More proper than important.
2000-01-15 18:10:32 +00:00
aymeric
494dc92eb1 allow french keyboard users to swap control and caps lock keys 2000-01-15 17:14:22 +00:00
aymeric
626fbe9b6d make this work again (include machine/cpu.h) 2000-01-15 17:09:47 +00:00
aymeric
20a96dc688 make DCIAS work for 020-only / 030-only kernels 2000-01-15 17:08:03 +00:00
aymeric
921c6acc0e defined IPL_BIO, IPL_NET and IPL_TTY for soon to be integrated PCMCIA code 2000-01-15 15:04:21 +00:00
minoura
49f79ab628 Change physseg allocation strategy to VM_PSTRAT_BIGFIRST.
Required when big (>64MB) high memory is installed.
2000-01-15 14:47:25 +00:00
aymeric
b4406c3d63 make this compile again 2000-01-15 13:50:13 +00:00
nisimura
410a23c0a3 Revert to old ROM console I/O code. 2000-01-15 10:06:21 +00:00
msaitoh
150090f9b8 inittodr() and resettodr() supports SH4 2000-01-15 02:46:30 +00:00
nisimura
94c89f6863 Kludge to detect booted_device detection. Needs helpful 2nd stage boot
loaders for finer controls.
2000-01-15 02:06:31 +00:00
oster
138d8fef04 Fix typo + cleanup a bit. 2000-01-15 01:57:57 +00:00
christos
1b02e0a7db Build biosboot_com0 too. 2000-01-15 01:17:12 +00:00
cgd
d447117750 Some additional sanity checks to keep this code from bursting into
flame if presented with bad CIS data (e.g. because of a memory space
conflict):
* more sanity checking on LONGLINK_MFC CIS tuples (exact length check, sanity
  check on size vs. size of array we allocated for them), to avoid various
  missteps which could cause this code to complete trash the kernel stack.
* clear the entire contents of the state structure before processing, so
  things like uninitted pointers will actually have a known value!
* be more careful with CISTPL_CFTABLE_ENTRY: check to see that the current
  state's default_entry isn't NULL before dereferencing it.
2000-01-14 23:09:53 +00:00
perseant
1b67daa4b4 Expand the category of "metadata" in lfs_markv to include Ifile data blocks.
This prevents a rare condition in which Ifile "ifile" blocks, that is, the
blocks of the ifile which point VOP_VGET at the inode block containing the
requested inode, from being "unwritten" when cleaning during intense disk
activity.
2000-01-14 21:41:11 +00:00
perseant
dbe30ed5d4 Better handling of various combinations of cleaning, vnode flushing, and
dirop writing.  In particular, lfs_writevnodes now writes all buffers from
a flushed vnode whether cleaning or not, and the same with the Ifile; and
lfs_segwrite does not attempt to write data from other non-cleaning vnodes,
even if a vnode is being flushed.
2000-01-14 21:38:46 +00:00
msaitoh
5cb845afcd remove SH3_PHYS_TO_P1SEG macro 2000-01-14 21:02:40 +00:00
msaitoh
1e15a3117c use clock_subr.c 2000-01-14 19:41:36 +00:00
msaitoh
06c297195a in_cksum.c ->in_cksum.S 2000-01-14 19:20:32 +00:00
msaitoh
f485f2635c add SH3_{PHYS,P1SEG,P2SEG}_TO_{PHYS,P1SEG,P2SEG} macros 2000-01-14 19:09:35 +00:00
uch
0a98216e35 fix mobilon hc-4100 keymap. 2000-01-14 18:37:58 +00:00
msaitoh
69fcc26071 write through bit (SH4) 2000-01-14 16:06:11 +00:00
ad
ec54843fa3 - Make consistant with the new order.
- Ammend comment about PrestoServe.
2000-01-14 15:52:33 +00:00
ad
ba79e0aab8 Make consistant with the new order. 2000-01-14 15:52:00 +00:00
msaitoh
2d4348b99d in_cksum.S (bi-endian) 2000-01-14 15:47:42 +00:00