mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
Sansa Connect: Initial TNETV105 driver port
Port USB driver from Sansa Connect Linux kernel sources. The device successfully enumerates and responds to SCSI commands but actual disk access does not work. The SCSI response sent to host mentions that both internal storage and microsd card are not present. Change-Id: Ic6c07da12382c15c0b069f23a75f7df9765b7525
This commit is contained in:
parent
77603c344d
commit
474293a12b
11 changed files with 3066 additions and 60 deletions
|
|
@ -494,6 +494,13 @@ void udelay(int usec) {
|
|||
}
|
||||
}
|
||||
|
||||
void mdelay(int msec)
|
||||
{
|
||||
int ms_per_tick = 1000 / HZ;
|
||||
/* Round up to next full tick */
|
||||
sleep((msec + ms_per_tick - 1) / ms_per_tick);
|
||||
}
|
||||
|
||||
#ifdef BOOTLOADER
|
||||
void system_prepare_fw_start(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue