Commit Graph

216092 Commits

Author SHA1 Message Date
tsutsui
bcc38be16f Whitespace cleanup. 2013-01-22 15:44:25 +00:00
jmcneill
e488b1d802 document USBD_MPSAFE and USB_TASKQ_MPSAFE 2013-01-22 15:35:08 +00:00
jmcneill
7d3926a123 add USB_TASKQ_MPSAFE to usb_init_task args 2013-01-22 15:19:48 +00:00
jmcneill
fd5ba180eb use usbdevices.config 2013-01-22 14:03:43 +00:00
jmcneill
eff74c4958 add missing flags param to usb_task_init 2013-01-22 14:03:19 +00:00
jmcneill
2125e3121e default pipe is mpsafe, deal with it 2013-01-22 14:01:19 +00:00
christos
387f092185 print only the version as the full version confuses pkgconfig. 2013-01-22 13:51:45 +00:00
jmcneill
1d8777d5b3 usbd_open_pipe and usbd_open_pipe_intr take different flags! Make sure
the value of USBD_MPSAFE doesn't conflict with flags for either of them, as
it can be passed to both.
2013-01-22 13:27:59 +00:00
jmcneill
5ef315ab5e Use usbd_setup_pipe_flags instead of usbd_setup_pipe so the supplied flags
get passed through.
2013-01-22 13:18:47 +00:00
skrll
126a99a5a8 Simplify dwc_otg_standard_done and always call dwc_host_channel_free on
the last (attempted) TD. We were leaking channels before.

Remove dwc_otg_device_done in the process.
2013-01-22 13:06:41 +00:00
skrll
6342507205 Remove unneeded semi-colons 2013-01-22 13:03:25 +00:00
jmcneill
8bdabafe8e make USBD_TASKQ_MPSAFE the same value as USBD_MPSAFE, just in case 2013-01-22 12:48:07 +00:00
jmcneill
7c64a30e85 - Add a USBD_MPSAFE flag to usbd_open_pipe. If not set, acquire KERNEL_LOCK
before invoking xfer callbacks on this pipe.
- Add an extra flags parameter to usb_init_task. If USBD_TASKQ_MPSAFE is not
  present, acquire KERNEL_LOCK before invoking the task callback.
2013-01-22 12:40:42 +00:00
jmcneill
8a15da7ada simplify the locking in urtwn_start 2013-01-22 12:04:58 +00:00
isaki
50aab03cd0 Detect emulators (and display it on dmesg). 2013-01-22 11:58:39 +00:00
dholland
dcd34a91c5 Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
   ROOTINO -> UFS_ROOTINO
   WINO -> UFS_WINO
   NXADDR -> UFS_NXADDR
   NDADDR -> UFS_NDADDR
   NIADDR -> UFS_NIADDR
   MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
   MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.
2013-01-22 09:39:11 +00:00
matt
cb9b8472f6 Don't "sync" atomic ops.
Do sync after each range op.
2013-01-22 09:04:12 +00:00
skrll
172ff46798 Improve a DIAGNOSTIC so it doesn't confuse people who need more coffee,
e.g. me.
2013-01-22 08:33:18 +00:00
dholland
76ad4067c2 spelling 2013-01-22 06:24:11 +00:00
christos
985c770dc8 We need more defines for this to actually work! 2013-01-22 01:50:25 +00:00
christos
d558641cdd No need to wrap each version with a separate conditional. 2013-01-22 01:48:34 +00:00
christos
8a8a278a1c Simplify the ifdef mess. No functional context. 2013-01-22 01:47:20 +00:00
christos
131cc4df10 It is useless to check for sigcontext_vec and compat module loading for
PK_32 processes. The correct modules are already loaded, otherwise how
is the process running?
2013-01-22 01:45:59 +00:00
jmcneill
c6a2bb6666 some more urtwn fixes:
- support manual roaming (used by wpa_supplicant)
 - simplify ioctl handler
 - add our own reset callback
 - acquire KERNEL_LOCK before using net80211 or the network stack
 - clear IFF_OACTIVE even in the event of an endpoint stall
2013-01-21 23:42:45 +00:00
christos
8fb7bb9693 When abusing enums, please at least use valid constants... 2013-01-21 21:38:02 +00:00
jakllsch
4b2ef59e15 Assume the first ld@sdmmc to attach is the booted device until
possibily-otherwise specified during evbarm cpu_rootconf().
2013-01-21 20:42:22 +00:00
christos
aed35c482d Split the make fs portion into a function; do argument tests inside the
function.
2013-01-21 20:28:38 +00:00
jakllsch
6d0f2e64cf Correct off-by-one in validation of booted partition number. 2013-01-21 20:20:32 +00:00
mlelstv
b054bec0e9 Make internal functions static 2013-01-21 19:49:15 +00:00
mlelstv
f9a45eb9c5 force chip into serial mode
add 232RL product id
2013-01-21 19:08:42 +00:00
jakllsch
05b3b9d385 Specify the root device in cmdline.txt, also, it's 'Pi', not 'PI'. 2013-01-21 17:14:23 +00:00
skrll
bc399b5b4e kernel.img is for rpi only 2013-01-21 16:59:23 +00:00
christos
b4b144b944 remove trailing lines 2013-01-21 16:52:56 +00:00
skrll
a4ac7e4aff More usage updates 2013-01-21 16:49:49 +00:00
christos
f2c1b6f8ac remove trailing line 2013-01-21 16:48:23 +00:00
skrll
33441e3917 Update usage output a little 2013-01-21 16:47:23 +00:00
jakllsch
5c9cb21f6e Change the root device to '?' instead of 'ld0a'.
This was overriding the root=device passed in on the kernel command line.
2013-01-21 16:25:09 +00:00
macallan
683fcc112c switch to 32bit colour for X, keep the console in 16bit for some extra speed
( yay, first commit from my BeagleBoard )
2013-01-21 16:08:30 +00:00
tsutsui
c22bdc7799 Umm, fix botch in previous. 2013-01-21 15:21:30 +00:00
tsutsui
1734677fd5 Account idepth properly in timer interrupt handler. 2013-01-21 14:42:24 +00:00
macallan
05beb31d16 support WSDISPLAYIO_GET_BUSID
let WSDISPLAYIO_GTYPE return WSDISPLAY_TYPE_OMAP3
no more pretending we're some sort of PCI framebuffer
2013-01-21 14:17:39 +00:00
macallan
a2a003a83a add WSDISPLAY_TYPE_OMAP3 2013-01-21 14:15:03 +00:00
skrll
a4e9df9fb4 Remove some #includes that shouldn't be here. 2013-01-21 13:25:44 +00:00
tsutsui
4fcb8dd65a Slightly modify sd attach message, as kernel does.
before:
 sd0: HITACHI DK315C-14 rev H7H6, 2807459 512 byte blocks

after:
 sd0: HITACHI DK315C-14 rev H7H6, 512 bytes/sect x 2807459 sectors
2013-01-21 13:21:04 +00:00
tsutsui
bd88a8a62d Add support for "await key" to abort autoboot and get boot menu.
Also add command help.  Bump version.
2013-01-21 11:58:12 +00:00
hannken
037fec6e9b Replace the rwlock based implementation with passive serialization
from pserialize(9) and mutex / condvar.

The fast paths (fstrans_start/fstrans_done on a file system not
suspended or suspending and fscow_run with no change pending) now
run without locks or other atomic operations.  Suspension and cow
handler insertion and removal is done with mutex / condvars.

The API remains unchanged.
2013-01-21 09:14:01 +00:00
skrll
fe2d7266ff Don't use magic number 2013-01-21 08:02:01 +00:00
skrll
0c80e732c4 Don't panic when trying to do isoc transfer, just return an error. 2013-01-21 07:39:59 +00:00
skrll
b4abc764fc KNF 2013-01-21 07:37:06 +00:00
msaitoh
302f86804d Fix memory leak in file_matching(). 2013-01-21 03:24:43 +00:00